* add test mail file, update unit test for number

This commit is contained in:
Dirk-Jan C. Binnema 2010-09-04 14:32:10 +03:00
parent 6b3272fb8c
commit b05359d344
3 changed files with 17 additions and 4 deletions

View File

@ -58,7 +58,7 @@ libtestmucommon_la_LIBADD= ../libmu.la
# use the (also supported) version with '!' instead. We could escape
# the : with \: but automake does not recognize that....
# 11 messages, the '.ignore' message should be ignored
# 12 messages, the '.ignore' message should be ignored
# when indexing
EXTRA_DIST= \
testdir/tmp/1220863087.12663.ignore \
@ -71,4 +71,5 @@ EXTRA_DIST= \
testdir/cur/1220863087.12663_15.mindcrime!2,PS \
testdir/cur/1220863087.12663_19.mindcrime!2,S \
testdir/cur/1220863042.12663_1.mindcrime!2,S \
testdir/cur/1220863060.12663_3.mindcrime!2,S
testdir/cur/1220863060.12663_3.mindcrime!2,S \
testdir/cur/1283599333.1840_11.cthulhu!2,

View File

@ -193,7 +193,7 @@ test_mu_maildir_walk_01 (void)
&data);
g_assert_cmpuint (MU_OK, ==, rv);
g_assert_cmpuint (data._file_count, ==, 10);
g_assert_cmpuint (data._file_count, ==, 11);
g_assert_cmpuint (data._dir_entered,==, 5);
g_assert_cmpuint (data._dir_left,==, 5);
@ -224,7 +224,7 @@ test_mu_maildir_walk_02 (void)
&data);
g_assert_cmpuint (MU_OK, ==, rv);
g_assert_cmpuint (data._file_count, ==, 6);
g_assert_cmpuint (data._file_count, ==, 7);
g_assert_cmpuint (data._dir_entered,==, 4);
g_assert_cmpuint (data._dir_left,==, 4);

View File

@ -0,0 +1,12 @@
From: Frodo Baggins <frodo@example.com>
To: Bilbo Baggins <bilbo@anotherexample.com>
Subject: Greetings from =?UTF-8?B?TG90aGzDs3JpZW4=?=
User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/24.0 Mule/6.0 (HANACHIRUSATO)
Fcc: .sent
Organization: The Fellowship of the Ring
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Let's write some fünkÿ text using umlauts.