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 | |
parent | bfef6be0fc6a571c6e229ea546a216a662df78f4 (diff) | |
download | gsoc2013-evolution-c03044f2c31989650b49535059dc52ee85fe4938.tar gsoc2013-evolution-c03044f2c31989650b49535059dc52ee85fe4938.tar.gz gsoc2013-evolution-c03044f2c31989650b49535059dc52ee85fe4938.tar.bz2 gsoc2013-evolution-c03044f2c31989650b49535059dc52ee85fe4938.tar.lz gsoc2013-evolution-c03044f2c31989650b49535059dc52ee85fe4938.tar.xz 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')
-rw-r--r-- | tests/Makefile.am | 2 | ||||
-rw-r--r-- | tests/test10.c | 5 |
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")); |