aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test6.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-10-22 22:33:04 +0800
committerDan Winship <danw@src.gnome.org>2003-10-22 22:33:04 +0800
commitec8e33815e819095b104cc0279cd4c2dc156db97 (patch)
tree38d51dbf1c3b75f28f9ad4cce9cdd8f0d8b37657 /tests/test6.c
parent119a6854fde155c9ba1da04ad34da8e41eb529f2 (diff)
downloadgsoc2013-evolution-ec8e33815e819095b104cc0279cd4c2dc156db97.tar
gsoc2013-evolution-ec8e33815e819095b104cc0279cd4c2dc156db97.tar.gz
gsoc2013-evolution-ec8e33815e819095b104cc0279cd4c2dc156db97.tar.bz2
gsoc2013-evolution-ec8e33815e819095b104cc0279cd4c2dc156db97.tar.lz
gsoc2013-evolution-ec8e33815e819095b104cc0279cd4c2dc156db97.tar.xz
gsoc2013-evolution-ec8e33815e819095b104cc0279cd4c2dc156db97.tar.zst
gsoc2013-evolution-ec8e33815e819095b104cc0279cd4c2dc156db97.zip
Removed; these are ancient. Camel regression tests are in camel/tests now.
* tests/*: Removed; these are ancient. Camel regression tests are in camel/tests now. svn path=/trunk/; revision=22980
Diffstat (limited to 'tests/test6.c')
-rw-r--r--tests/test6.c49
1 files changed, 0 insertions, 49 deletions
diff --git a/tests/test6.c b/tests/test6.c
deleted file mode 100644
index c2883d89c0..0000000000
--- a/tests/test6.c
+++ /dev/null
@@ -1,49 +0,0 @@
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
-
-/* test for the RFC 2047 encoder */
-
-#include <string.h>
-#include <unicode.h>
-
-#include "gmime-utils.h"
-#include "stdio.h"
-#include "camel-mime-message.h"
-#include "camel-mime-part.h"
-#include "camel-stream.h"
-#include "camel-stream-fs.h"
-#include "camel.h"
-#include "gmime-rfc2047.h"
-
-#define TERMINAL_CHARSET "UTF-8"
-
-/*
- * Info on many unicode issues, including, utf-8 xterms from :
- *
- * http://www.cl.cam.ac.uk/~mgk25/unicode.html
- *
- */
-
-const char *tests[] =
-{
- "is is a test", "ISO-8859-1",
- "Itrtinlation", "ISO-8859-1",
- "Καλημέρα κόσμε", "UTF-8",
- "コンニチハ", "UTF-8",
- "ði ıntəˈnæʃənəl fəˈnɛtık əsoʊsiˈeıʃn", "UTF-8",
- NULL
-};
-
-
-int
-main (int argc, char**argv)
-{
- const char **b = tests;
- while (*b) {
- char *e = gmime_rfc2047_encode(b[0], b[1]);
- printf("%s\t%s\n", e, gmime_rfc2047_decode(e, TERMINAL_CHARSET));
- b+=2;
- }
-
- return 0;
-
-}