diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test1.c | 3 | ||||
-rw-r--r-- | tests/test10.c | 2 | ||||
-rw-r--r-- | tests/test11.c | 2 | ||||
-rw-r--r-- | tests/test2.c | 4 | ||||
-rw-r--r-- | tests/test4.c | 3 | ||||
-rw-r--r-- | tests/test5.c | 1 | ||||
-rw-r--r-- | tests/test6.c | 1 | ||||
-rw-r--r-- | tests/test7.c | 2 | ||||
-rw-r--r-- | tests/test8.c | 3 | ||||
-rw-r--r-- | tests/test9.c | 4 |
10 files changed, 1 insertions, 24 deletions
diff --git a/tests/test1.c b/tests/test1.c index c2f5bc87c0..b9caf20475 100644 --- a/tests/test1.c +++ b/tests/test1.c @@ -8,7 +8,6 @@ #include "camel-stream.h" #include "camel-stream-fs.h" #include "camel-stream-data-wrapper.h" -#include "camel-log.h" #include "camel.h" int @@ -113,7 +112,7 @@ main (int argc, char**argv) stream = camel_stream_fs_new_with_name ("mail1.test", CAMEL_STREAM_FS_WRITE ); if (!stream) { - CAMEL_LOG_FULL_DEBUG ("could not open output file"); + printf ("could not open output file"); exit(2); } diff --git a/tests/test10.c b/tests/test10.c index fe976d4808..59bffb1407 100644 --- a/tests/test10.c +++ b/tests/test10.c @@ -6,7 +6,6 @@ #include "camel-mbox-parser.h" #include "camel-mbox-utils.h" #include "camel-mbox-summary.h" -#include "camel-log.h" #include "camel-exception.h" #include "md5-utils.h" #include <sys/types.h> @@ -82,7 +81,6 @@ main (int argc, char**argv) CamelFolder *folder; CamelMimeMessage *message; GList *uid_list; - camel_debug_level = 10; gtk_init (&argc, &argv); camel_init (); diff --git a/tests/test11.c b/tests/test11.c index 387c9a6904..ee97d84cdb 100644 --- a/tests/test11.c +++ b/tests/test11.c @@ -6,7 +6,6 @@ #include "camel.h" -#include "camel-log.h" #include "camel-exception.h" #include "camel-folder-summary.h" #include "md5-utils.h" @@ -76,7 +75,6 @@ main (int argc, char**argv) CamelFolder *folder, *outbox; CamelMimeMessage *message; GList *uid_list; - int camel_debug_level = 10; GList *matches; struct search_data *sd; diff --git a/tests/test2.c b/tests/test2.c index 6e93a731a9..510c8304d6 100644 --- a/tests/test2.c +++ b/tests/test2.c @@ -2,7 +2,6 @@ /* tests mime message file parsing */ #include "gmime-utils.h" #include "stdio.h" -#include "camel-log.h" #include "camel-mime-message.h" #include "camel-mime-part.h" #include "camel-stream.h" @@ -18,7 +17,6 @@ main (int argc, char**argv) gtk_init (&argc, &argv); camel_init (); - camel_debug_level = CAMEL_LOG_LEVEL_FULL_DEBUG; message = camel_mime_message_new (); @@ -31,8 +29,6 @@ main (int argc, char**argv) } - camel_debug_level = CAMEL_LOG_LEVEL_FULL_DEBUG; - camel_data_wrapper_set_input_stream ( CAMEL_DATA_WRAPPER (message), input_stream); camel_medium_get_content_object (CAMEL_MEDIUM (message)); diff --git a/tests/test4.c b/tests/test4.c index 99285cec43..bc9eef71d1 100644 --- a/tests/test4.c +++ b/tests/test4.c @@ -10,7 +10,6 @@ #include "camel-mh-folder.h" #include "camel-mh-store.h" #include "camel.h" -#include "camel-log.h" int main (int argc, char**argv) @@ -22,8 +21,6 @@ main (int argc, char**argv) CamelMimeMessage *message_1; gboolean inbox_exists; - camel_debug_level = CAMEL_LOG_LEVEL_FULL_DEBUG; - gtk_init (&argc, &argv); camel_init (); diff --git a/tests/test5.c b/tests/test5.c index 2f47fda418..81c5e2256a 100644 --- a/tests/test5.c +++ b/tests/test5.c @@ -7,7 +7,6 @@ #include "gmime-utils.h" #include "stdio.h" -#include "camel-log.h" #include "camel-mime-message.h" #include "camel-mime-part.h" #include "camel-stream.h" diff --git a/tests/test6.c b/tests/test6.c index ead8312c52..c2883d89c0 100644 --- a/tests/test6.c +++ b/tests/test6.c @@ -7,7 +7,6 @@ #include "gmime-utils.h" #include "stdio.h" -#include "camel-log.h" #include "camel-mime-message.h" #include "camel-mime-part.h" #include "camel-stream.h" diff --git a/tests/test7.c b/tests/test7.c index 44c73d275b..b3e32efb10 100644 --- a/tests/test7.c +++ b/tests/test7.c @@ -11,8 +11,6 @@ main (int argc, char**argv) { const CamelProvider *new_provider; - camel_debug_level = CAMEL_LOG_LEVEL_FULL_DEBUG; - gtk_init (&argc, &argv); camel_init (); diff --git a/tests/test8.c b/tests/test8.c index 1f446e171d..aa7debdba9 100644 --- a/tests/test8.c +++ b/tests/test8.c @@ -2,7 +2,6 @@ #include "camel.h" -#include "camel-log.h" CamelThreadProxy *proxy; CamelFuncDef *func_def; @@ -44,8 +43,6 @@ main (int argc, char **argv) int i; CamelOp *op; - camel_debug_level = CAMEL_LOG_LEVEL_WARNING; - camel_init (); func_def = diff --git a/tests/test9.c b/tests/test9.c index febf0fed78..7fbbee8b8a 100644 --- a/tests/test9.c +++ b/tests/test9.c @@ -5,7 +5,6 @@ #include "camel-mbox-parser.h" #include "camel-mbox-utils.h" #include "camel-mbox-summary.h" -#include "camel-log.h" #include "camel-exception.h" #include <sys/types.h> #include <unistd.h> @@ -28,9 +27,6 @@ main (int argc, char**argv) guint32 next_uid; guint32 mbox_file_size; - //camel_debug_level = CAMEL_LOG_LEVEL_FULL_DEBUG; - camel_debug_level = 0; - gtk_init (&argc, &argv); camel_init (); |