From 3d7a8fdeac2dfa5068844a42f6c564d186bd21db Mon Sep 17 00:00:00 2001 From: Bertrand Guiheneuf Date: Sun, 1 Aug 1999 13:42:43 +0000 Subject: Adding missing files svn path=/trunk/; revision=1053 --- tests/test3.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 tests/test3.c (limited to 'tests/test3.c') 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"); +} + -- cgit