aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNotZed <NotZed@HelixCode.com>2000-04-24 09:05:03 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-04-24 09:05:03 +0800
commitc03044f2c31989650b49535059dc52ee85fe4938 (patch)
tree295799d1a2c6f39bc9154d05a81e7566dc7e4fc3
parentbfef6be0fc6a571c6e229ea546a216a662df78f4 (diff)
downloadgsoc2013-evolution-c03044f2c31989650b49535059dc52ee85fe4938.tar.gz
gsoc2013-evolution-c03044f2c31989650b49535059dc52ee85fe4938.tar.zst
gsoc2013-evolution-c03044f2c31989650b49535059dc52ee85fe4938.zip
Of course, it just crashes ...
2000-04-23 NotZed <NotZed@HelixCode.com> * tests/test10.c: Removed some unecessary includes. From Ali Abdin <aliabdin@aucegypt.edu> (create_sample_mime_message): Changed for date api change. * tests/Makefile.am (noinst_PROGRAMS): Put test10 back. svn path=/trunk/; revision=2573
-rw-r--r--ChangeLog8
-rw-r--r--tests/Makefile.am2
-rw-r--r--tests/test10.c5
3 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 3b47cba9d7..c7f4c590cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2000-04-23 NotZed <NotZed@HelixCode.com>
+
+ * tests/test10.c: Removed some unecessary includes. From
+ Ali Abdin <aliabdin@aucegypt.edu>
+ (create_sample_mime_message): Changed for date api change.
+
+ * tests/Makefile.am (noinst_PROGRAMS): Put test10 back.
+
2000-04-22 NotZed <NotZed@HelixCode.com>
* tests/test1.c (main): Changed for date api change.
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"));