diff options
author | Gregor Hoffleit <gregor@hoffleit.de> | 2010-04-13 18:37:57 +0200 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-04-22 17:10:23 -0700 |
commit | 08deef5f7571d7207039e374307605de8e97ddac (patch) | |
tree | 7e61ae7a248c3792ff4bdd0bd2cb1d0a24dff256 /notmuch-search.c | |
parent | e31aa92a4c97b0527cbdb93ed9027d77c2bff70f (diff) |
First tests for JSON output and UTF-8 in mail body and subject
The test suite doesn't yet cover --format=json output nor UTF-8 in
subject or body.
This patch starts with test cases for 'search --format=json' and
'show --format=json'.
Furthermore, it has test cases for a search for a UTF-8 string in a mail
body for a UTF-8 string in a mail subject.
Finally, it has a test case for --format=json with UTF-8 messages,
demonstrating the fix in 1267697893-sup-4538@sam.mediasupervision.de.
Reviewed-by: Carl Worth <cworth@cworth.org>
Updated tests to current implementation of the test suite.
These tests demonstrate a bug in the current implementation
of "notmuch show --format=json", (timestamp output is changed
depending on current timezone).
Diffstat (limited to 'notmuch-search.c')
0 files changed, 0 insertions, 0 deletions