2003-04-22 Not Zed <NotZed@Ximian.com> ** Should fix #41629, #41448, et al. * tests/folder/test10.c: a new torture test for object bag creation/unreffing. * camel-url.c (camel_url_copy): new function to copy a url. * camel-object.c (camel_object_bag_new): add arguments for key copy and key free functions. Fixed all callers. (camel_object_bag_destroy): fix a memleak, free the bag key. (camel_object_bag_get, camel_object_bag_reserve) (camel_object_bag_abort, save_bag, save_object): Make the key a void type, rather than char *. (camel_object_bag_add): As above, and also copy the key. (camel_object_bag_remove_unlocked): free the key using bag->free_key. * camel-session.c (register_provider) (camel_session_destroy_provider, get_service): Changed to use an object bag instead of a hash table for the service 'cache'. (service_cache_remove): Removed, no longer required. svn path=/trunk/; revision=20930
29 lines
605 B
Makefile
29 lines
605 B
Makefile
|
|
INCLUDES = \
|
|
-I$(includedir) \
|
|
-I$(top_srcdir) \
|
|
-I$(top_srcdir)/intl \
|
|
-I$(top_srcdir)/e-util \
|
|
-I$(top_srcdir)/camel \
|
|
-I$(top_srcdir)/camel/tests/lib \
|
|
-DG_LOG_DOMAIN=\"evolution-tests\" \
|
|
$(CAMEL_CFLAGS)
|
|
|
|
LDADD = \
|
|
$(top_builddir)/camel/libcamel.la \
|
|
$(top_builddir)/e-util/libeutil.la \
|
|
$(top_builddir)/camel/tests/lib/libcameltest.a \
|
|
$(INTLLIBS) \
|
|
$(EVOLUTION_MAIL_LIBS)
|
|
|
|
check_PROGRAMS = \
|
|
test1 test2 test3 \
|
|
test4 test5 test6 \
|
|
test7 test8 test9 \
|
|
test10
|
|
|
|
TESTS = test1 test2 test3 \
|
|
test4 test5 test6 \
|
|
test7 test8 test9 \
|
|
test10
|