aboutsummaryrefslogtreecommitdiffstats
path: root/camel/tests/folder/test2.c
diff options
context:
space:
mode:
authornobody <nobody@localhost>2001-06-23 13:14:10 +0800
committernobody <nobody@localhost>2001-06-23 13:14:10 +0800
commit2bbe5d3421eefbcac7d9f3e16d3ea09e96a2bc10 (patch)
treea4eb5e010ba601de261dc3f9da4dd4b86fcc46fe /camel/tests/folder/test2.c
parent72ca61d74b9942040638b628a6f1358e02d23d42 (diff)
downloadgsoc2013-evolution-2bbe5d3421eefbcac7d9f3e16d3ea09e96a2bc10.tar
gsoc2013-evolution-2bbe5d3421eefbcac7d9f3e16d3ea09e96a2bc10.tar.gz
gsoc2013-evolution-2bbe5d3421eefbcac7d9f3e16d3ea09e96a2bc10.tar.bz2
gsoc2013-evolution-2bbe5d3421eefbcac7d9f3e16d3ea09e96a2bc10.tar.lz
gsoc2013-evolution-2bbe5d3421eefbcac7d9f3e16d3ea09e96a2bc10.tar.xz
gsoc2013-evolution-2bbe5d3421eefbcac7d9f3e16d3ea09e96a2bc10.tar.zst
gsoc2013-evolution-2bbe5d3421eefbcac7d9f3e16d3ea09e96a2bc10.zip
This commit was manufactured by cvs2svn to create tagGNUMERIC_0_66
'GNUMERIC_0_66'. svn path=/tags/GNUMERIC_0_66/; revision=10420
Diffstat (limited to 'camel/tests/folder/test2.c')
-rw-r--r--camel/tests/folder/test2.c58
1 files changed, 0 insertions, 58 deletions
diff --git a/camel/tests/folder/test2.c b/camel/tests/folder/test2.c
deleted file mode 100644
index 50a89f89e8..0000000000
--- a/camel/tests/folder/test2.c
+++ /dev/null
@@ -1,58 +0,0 @@
-/* folder testing */
-
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-
-#include "camel-test.h"
-#include "messages.h"
-#include "folders.h"
-#include "session.h"
-
-#include <camel/camel-exception.h>
-#include <camel/camel-service.h>
-#include <camel/camel-store.h>
-
-#include <camel/camel-folder.h>
-#include <camel/camel-folder-summary.h>
-#include <camel/camel-mime-message.h>
-
-#define ARRAY_LEN(x) (sizeof(x)/sizeof(x[0]))
-
-static char *stores[] = {
- "mbox:///tmp/camel-test/mbox",
- "mh:///tmp/camel-test/mh",
- "maildir:///tmp/camel-test/maildir"
-};
-
-int main(int argc, char **argv)
-{
- CamelSession *session;
- CamelException *ex;
- int i;
-
- camel_test_init(argc, argv);
-
- /* clear out any camel-test data */
- system("/bin/rm -rf /tmp/camel-test");
-
- ex = camel_exception_new();
-
- session = camel_test_session_new ("/tmp/camel-test");
-
- /* we iterate over all stores we want to test, with indexing or indexing turned on or off */
- for (i=0;i<ARRAY_LEN(stores);i++) {
- char *name = stores[i];
-
- test_folder_message_ops(session, name, TRUE, FALSE);
- }
-
- /* create a pseudo-spool file, and check that */
- creat("/tmp/camel-test/testbox", 0600);
- test_folder_message_ops(session, "spool:///tmp/camel-test/testbox", FALSE, TRUE);
-
- check_unref(session, 1);
- camel_exception_free(ex);
-
- return 0;
-}