* tests/: add tests for issues mentioned in issue #38

(http://code.google.com/p/mu0/issues/detail?id=38).

  Cannot reproduce the issue though, except when searching for the 'From:' --
this seems to be due to limitation with GMime, if I do:

      mu view testdir/cur/1305664394.2171_402.cthulhu\!2,

   get:
-------------------------------
From: Mü <testmu@testmu.xx>
To: Helmut =?iso-8859-1?q?Kr=F6ger?= <hk@testmu.xxx>
Subject: Motörhead

Test for issue #38, where apparently searching for accented words in subject,
to etc. fails.

What about here? Queensrÿche. Mötley Crüe.
-------------------------------

They decoding issues are of course very mail-client specific.
This commit is contained in:
Dirk-Jan C. Binnema
2011-05-18 00:00:10 +03:00
parent 8d3fe85652
commit 16180ced2a
4 changed files with 48 additions and 4 deletions

View File

@ -189,7 +189,7 @@ test_mu_maildir_walk_01 (void)
&data);
g_assert_cmpuint (MU_OK, ==, rv);
g_assert_cmpuint (data._file_count, ==, 11);
g_assert_cmpuint (data._file_count, ==, 12);
g_assert_cmpuint (data._dir_entered,==, 5);
g_assert_cmpuint (data._dir_left,==, 5);
@ -220,7 +220,7 @@ test_mu_maildir_walk_02 (void)
&data);
g_assert_cmpuint (MU_OK, ==, rv);
g_assert_cmpuint (data._file_count, ==, 7);
g_assert_cmpuint (data._file_count, ==, 8);
g_assert_cmpuint (data._dir_entered,==, 4);
g_assert_cmpuint (data._dir_left,==, 4);