Pull up test fixes to get them building again
2001-07-20 JP Rosevear <jpr@ximian.com> * Pull up test fixes to get them building again svn path=/trunk/; revision=11270
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
2001-07-20 JP Rosevear <jpr@ximian.com>
|
||||
|
||||
* Pull up test fixes to get them building again
|
||||
|
||||
2001-07-20 Not Zed <NotZed@Ximian.com>
|
||||
|
||||
* camel-charset-map.c (camel_charset_get_iconv_friendly_name):
|
||||
|
||||
@ -10,7 +10,7 @@ LDADD = \
|
||||
$(top_builddir)/libibex/libibex.la \
|
||||
$(GNOME_LIBDIR) \
|
||||
$(top_builddir)/camel/tests/lib/libcameltest.a \
|
||||
$(GNOMEUI_LIBS) $(INTLLIBS) $(EXTRA_GNOME_LIBS)
|
||||
$(GNOMEUI_LIBS) $(INTLLIBS) $(MAILER_LIBS)
|
||||
|
||||
check_PROGRAMS = \
|
||||
test1 test4 test5 \
|
||||
|
||||
@ -165,7 +165,8 @@ int main(int argc, char **argv)
|
||||
pull();
|
||||
|
||||
push("Building filters");
|
||||
driver = camel_filter_driver_new(get_folder, NULL);
|
||||
driver = camel_filter_driver_new();
|
||||
camel_filter_driver_set_folder_func(driver, get_folder, NULL);
|
||||
for (i=0;i<ARRAY_LEN(rules);i++) {
|
||||
camel_filter_driver_add_rule(driver, rules[i].name, rules[i].match, rules[i].action);
|
||||
}
|
||||
@ -185,7 +186,8 @@ int main(int argc, char **argv)
|
||||
push("Testing broken match rules");
|
||||
for (i=0;i<ARRAY_LEN(brokens);i++) {
|
||||
push("rule %s", brokens[i].match);
|
||||
driver = camel_filter_driver_new(get_folder, NULL);
|
||||
driver = camel_filter_driver_new();
|
||||
camel_filter_driver_set_folder_func(driver, get_folder, NULL);
|
||||
camel_filter_driver_add_rule(driver, brokens[i].name, brokens[i].match, brokens[i].action);
|
||||
camel_filter_driver_filter_mbox(driver, "/tmp/camel-test/inbox", NULL, ex);
|
||||
check(camel_exception_is_set(ex));
|
||||
@ -198,7 +200,8 @@ int main(int argc, char **argv)
|
||||
push("Testing broken action rules");
|
||||
for (i=0;i<ARRAY_LEN(brokena);i++) {
|
||||
push("rule %s", brokena[i].action);
|
||||
driver = camel_filter_driver_new(get_folder, NULL);
|
||||
driver = camel_filter_driver_new();
|
||||
camel_filter_driver_set_folder_func(driver, get_folder, NULL);
|
||||
camel_filter_driver_add_rule(driver, brokena[i].name, brokena[i].match, brokena[i].action);
|
||||
camel_filter_driver_filter_mbox(driver, "/tmp/camel-test/inbox", NULL, ex);
|
||||
check(camel_exception_is_set(ex));
|
||||
|
||||
@ -10,7 +10,7 @@ LDADD = \
|
||||
$(top_builddir)/libibex/libibex.la \
|
||||
$(GNOME_LIBDIR) \
|
||||
$(top_builddir)/camel/tests/lib/libcameltest.a \
|
||||
$(GNOMEUI_LIBS) $(INTLLIBS) $(EXTRA_GNOME_LIBS)
|
||||
$(GNOMEUI_LIBS) $(INTLLIBS) $(MAILER_LIBS)
|
||||
|
||||
check_PROGRAMS = \
|
||||
test1 \
|
||||
|
||||
@ -11,7 +11,7 @@ LDADD = \
|
||||
$(top_builddir)/libibex/libibex.la \
|
||||
$(GNOME_LIBDIR) \
|
||||
$(top_builddir)/camel/tests/lib/libcameltest.a \
|
||||
$(GNOMEUI_LIBS) $(INTLLIBS) $(EXTRA_GNOME_LIBS)
|
||||
$(GNOMEUI_LIBS) $(INTLLIBS) $(MAILER_LIBS)
|
||||
|
||||
EXTRA_DIST = \
|
||||
crlf-1.in \
|
||||
|
||||
@ -10,7 +10,7 @@ LDADD = \
|
||||
$(top_builddir)/libibex/libibex.la \
|
||||
$(GNOME_LIBDIR) \
|
||||
$(top_builddir)/camel/tests/lib/libcameltest.a \
|
||||
$(GNOMEUI_LIBS) $(INTLLIBS) $(EXTRA_GNOME_LIBS)
|
||||
$(GNOMEUI_LIBS) $(INTLLIBS) $(MAILER_LIBS)
|
||||
|
||||
check_PROGRAMS = \
|
||||
url
|
||||
|
||||
@ -10,8 +10,7 @@ LDADD = \
|
||||
$(top_builddir)/libibex/libibex.la \
|
||||
$(GNOME_LIBDIR) \
|
||||
$(top_builddir)/camel/tests/lib/libcameltest.a \
|
||||
$(GNOMEUI_LIBS) $(INTLLIBS) $(EXTRA_GNOME_LIBS) \
|
||||
$(BONOBO_GNOME_LIBS)
|
||||
$(GNOMEUI_LIBS) $(INTLLIBS) $(MAILER_LIBS)
|
||||
|
||||
check_PROGRAMS = \
|
||||
pgp \
|
||||
|
||||
@ -109,7 +109,7 @@ int main (int argc, char **argv)
|
||||
|
||||
session = camel_pgp_session_new ("/tmp/camel-test");
|
||||
|
||||
ctx = camel_pgp_context_new (session, CAMEL_PGP_TYPE_GPG, "/usr/bin/gpg");
|
||||
ctx = camel_pgp_context_new (session, CAMEL_PGP_TYPE_GPG, "/usr/bin/gpg", FALSE);
|
||||
|
||||
camel_test_start ("Test of PGP/MIME functions");
|
||||
|
||||
|
||||
@ -106,7 +106,7 @@ int main (int argc, char **argv)
|
||||
|
||||
session = camel_pgp_session_new ("/tmp/camel-test");
|
||||
|
||||
ctx = camel_pgp_context_new (session, CAMEL_PGP_TYPE_GPG, "/usr/bin/gpg");
|
||||
ctx = camel_pgp_context_new (session, CAMEL_PGP_TYPE_GPG, "/usr/bin/gpg", FALSE);
|
||||
|
||||
camel_test_start ("Test of PGP functions");
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ LDADD = \
|
||||
$(top_builddir)/libibex/libibex.la \
|
||||
$(GNOME_LIBDIR) \
|
||||
$(top_builddir)/camel/tests/lib/libcameltest.a \
|
||||
$(GNOMEUI_LIBS) $(INTLLIBS) $(EXTRA_GNOME_LIBS)
|
||||
$(GNOMEUI_LIBS) $(INTLLIBS) $(MAILER_LIBS)
|
||||
|
||||
check_PROGRAMS = \
|
||||
test1 test2 test3
|
||||
|
||||
Reference in New Issue
Block a user