From: Gregor Hoffleit Date: Tue, 13 Apr 2010 16:37:57 +0000 (+0200) Subject: First tests for JSON output and UTF-8 in mail body and subject X-Git-Tag: 0.3~108 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=08deef5f7571d7207039e374307605de8e97ddac;hp=08deef5f7571d7207039e374307605de8e97ddac;p=obsolete%2Fnotmuch-old 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 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). ---