From f14e85f771600855dedae6d29301d656ea86185b Mon Sep 17 00:00:00 2001 From: Not Zed Date: Tue, 12 Jun 2001 14:29:28 +0000 Subject: A new provider, for spool mailboxes. Mostly a cut and paste of the mbox 2001-06-12 Not Zed * providers/local/camel-spool-*.[ch]: A new provider, for spool mailboxes. Mostly a cut and paste of the mbox code, but not a subclass CamelLocal*. Not tested a lot, doesn't lock yet, use with extreme caution. * tests/lib/folders.c (test_folder_message_ops): Added spool arg, spool folders can't be deleted, renamed, etc. (test_folder_basic): Same. * tests/folder/test2.c (main): Added checks for spool type. * tests/[message|stream|folder|misc|smime]/Makefile.am (LDADD): Added db3 flags, so make check compiles, doesn't run though. 2001-05-24 Not Zed * providers/local/camel-local-provider.c (camel_provider_module_init): Added spool provider. svn path=/trunk/; revision=10198 --- camel/tests/folder/Makefile.am | 1 + camel/tests/folder/test1.c | 2 +- camel/tests/folder/test2.c | 10 ++++- camel/tests/folder/test4.c | 2 +- camel/tests/folder/test5.c | 2 +- camel/tests/lib/folders.c | 92 ++++++++++++++++++++++------------------- camel/tests/lib/folders.h | 4 +- camel/tests/message/Makefile.am | 2 + camel/tests/misc/Makefile.am | 1 + camel/tests/smime/Makefile.am | 1 + camel/tests/stream/Makefile.am | 1 + 11 files changed, 69 insertions(+), 49 deletions(-) (limited to 'camel/tests') diff --git a/camel/tests/folder/Makefile.am b/camel/tests/folder/Makefile.am index f6dd852dd8..1b3e3338ec 100644 --- a/camel/tests/folder/Makefile.am +++ b/camel/tests/folder/Makefile.am @@ -8,6 +8,7 @@ LDADD = \ $(top_builddir)/camel/libcamel.la \ $(top_builddir)/e-util/libeutil.la \ $(top_builddir)/libibex/libibex.la \ + $(DB3_LDADD) \ $(GNOME_LIBDIR) \ $(top_builddir)/camel/tests/lib/libcameltest.a \ $(GNOMEUI_LIBS) $(INTLLIBS) $(EXTRA_GNOME_LIBS) diff --git a/camel/tests/folder/test1.c b/camel/tests/folder/test1.c index 4d589099f5..c1d3809852 100644 --- a/camel/tests/folder/test1.c +++ b/camel/tests/folder/test1.c @@ -38,7 +38,7 @@ int main(int argc, char **argv) for (i=0;i +#include +#include + #include "camel-test.h" #include "messages.h" #include "folders.h" @@ -40,9 +44,13 @@ int main(int argc, char **argv) for (i=0;i