aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBertrand Guiheneuf <bertrand@src.gnome.org>1999-08-01 21:42:43 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-08-01 21:42:43 +0800
commit3d7a8fdeac2dfa5068844a42f6c564d186bd21db (patch)
tree6b5f2316f7a22e922510c4c49d113fdcf2d4c714 /tests
parentcac0ba57e6c47acd94600b5add1930301df33c50 (diff)
downloadgsoc2013-evolution-3d7a8fdeac2dfa5068844a42f6c564d186bd21db.tar.gz
gsoc2013-evolution-3d7a8fdeac2dfa5068844a42f6c564d186bd21db.tar.zst
gsoc2013-evolution-3d7a8fdeac2dfa5068844a42f6c564d186bd21db.zip
Adding missing files
svn path=/trunk/; revision=1053
Diffstat (limited to 'tests')
-rw-r--r--tests/test3.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/test3.c b/tests/test3.c
new file mode 100644
index 0000000000..a210ea3723
--- /dev/null
+++ b/tests/test3.c
@@ -0,0 +1,28 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+#include "camel.h"
+
+int
+main (int argc, char**argv)
+{
+ GtkType type;
+
+ gtk_init (&argc, &argv);
+ camel_init ();
+
+ printf ("Test 3 : data wrapper repository\n");
+
+ printf ("\nMime type : \"multipart\"\n");
+ type = data_wrapper_get_data_wrapper_type ("multipart");
+ printf ("Type found %s\n", gtk_type_name (type) );
+
+ printf ("\nMime type : \"multipart/alternative\"\n");
+ type = data_wrapper_get_data_wrapper_type ("multipart/alternative");
+ printf ("Type found %s\n", gtk_type_name (type) );
+
+ printf ("\nMime type : \"toto/titi\"\n");
+ type = data_wrapper_get_data_wrapper_type ("toto/titi");
+ printf ("Type found %s\n", gtk_type_name (type) );
+
+ printf ("Test3 finished\n");
+}
+