From 5a223c85b94c5cc51fe5e830665cabd981e4c75b Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 27 Jun 2001 22:21:05 +0000 Subject: Updated to match the current API. 2001-06-27 Jeffrey Stedfast * tests/folder/test9.c (main): Updated to match the current API. * tests/folder/test3.c: #include since we use gtk_init(). svn path=/trunk/; revision=10546 --- camel/tests/folder/test3.c | 2 ++ camel/tests/folder/test9.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'camel/tests') diff --git a/camel/tests/folder/test3.c b/camel/tests/folder/test3.c index 6aa7ad6a60..dc2946956f 100644 --- a/camel/tests/folder/test3.c +++ b/camel/tests/folder/test3.c @@ -1,5 +1,7 @@ /* folder/index testing */ +#include + #include "camel-test.h" #include "messages.h" #include "folders.h" diff --git a/camel/tests/folder/test9.c b/camel/tests/folder/test9.c index cd65143e16..17ec182832 100644 --- a/camel/tests/folder/test9.c +++ b/camel/tests/folder/test9.c @@ -173,7 +173,7 @@ int main(int argc, char **argv) push("Executing filters"); camel_filter_driver_set_default_folder(driver, mailboxes[0].folder); - camel_filter_driver_filter_mbox(driver, "/tmp/camel-test/inbox", ex); + camel_filter_driver_filter_mbox(driver, "/tmp/camel-test/inbox", NULL, ex); check_msg(!camel_exception_is_set(ex), "%s", camel_exception_get_description(ex)); /* now need to check the folder counts/etc */ @@ -187,7 +187,7 @@ int main(int argc, char **argv) push("rule %s", brokens[i].match); driver = camel_filter_driver_new(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", ex); + camel_filter_driver_filter_mbox(driver, "/tmp/camel-test/inbox", NULL, ex); check(camel_exception_is_set(ex)); camel_exception_clear(ex); check_unref(driver, 1); @@ -200,7 +200,7 @@ int main(int argc, char **argv) push("rule %s", brokena[i].action); driver = camel_filter_driver_new(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", ex); + camel_filter_driver_filter_mbox(driver, "/tmp/camel-test/inbox", NULL, ex); check(camel_exception_is_set(ex)); camel_exception_clear(ex); check_unref(driver, 1); -- cgit v1.2.3