diff options
author | NotZed <NotZed@HelixCode.com> | 2000-04-24 09:05:03 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2000-04-24 09:05:03 +0800 |
commit | c03044f2c31989650b49535059dc52ee85fe4938 (patch) | |
tree | 295799d1a2c6f39bc9154d05a81e7566dc7e4fc3 /tests/test10.c | |
parent | bfef6be0fc6a571c6e229ea546a216a662df78f4 (diff) | |
download | gsoc2013-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
Diffstat (limited to 'tests/test10.c')
-rw-r--r-- | tests/test10.c | 5 |
1 files changed, 1 insertions, 4 deletions
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")); |