aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am2
-rw-r--r--tests/test10.c5
2 files changed, 2 insertions, 5 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index ad8e26ceea..06cc14e2be 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -58,12 +58,12 @@ noinst_PROGRAMS = \
test2 \
test3 \
test7 \
+ test10 \
test11 \
test13 \
test-movemail \
test-url \
$(THREAD_RELATED_TESTS)
-# test10 \
# test12 \
# test-formatter
diff --git a/tests/test10.c b/tests/test10.c
index 59bffb1407..0beecb598e 100644
--- a/tests/test10.c
+++ b/tests/test10.c
@@ -3,9 +3,6 @@
#include "camel.h"
#include "camel-mbox-folder.h"
-#include "camel-mbox-parser.h"
-#include "camel-mbox-utils.h"
-#include "camel-mbox-summary.h"
#include "camel-exception.h"
#include "md5-utils.h"
#include <sys/types.h>
@@ -32,7 +29,7 @@ create_sample_mime_message ()
camel_medium_add_header (CAMEL_MEDIUM (message), "X-test1", "the value of a test");
camel_medium_add_header (CAMEL_MEDIUM (message), "X-test2", "the value of another test");
- camel_mime_message_set_received_date (message, g_strdup ("Thu, 20 May 1999, 10:39:14 +0200"));
+ camel_mime_message_set_date (message, time(0), 200);
camel_mime_message_set_subject (message, g_strdup ("A test message"));
camel_mime_message_set_reply_to (message, g_strdup ("toto@toto.com"));
camel_mime_message_set_from (message, g_strdup ("Bertrand.Guiheneuf@aful.org"));