From 09d19ac8c0ff9ffc697923a1517eba8215d61961 Mon Sep 17 00:00:00 2001 From: Pieter Praet Date: Wed, 17 Oct 2012 19:59:59 -0400 Subject: test: emacs: toggle eliding of non-matching messages in `notmuch-show' See commits 44a544ed, 866ce8b1, 668b66ec. Signed-off-by: Ethan Glasser-Camp --- test/emacs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'test/emacs') diff --git a/test/emacs b/test/emacs index 1f84b915..58ea59a9 100755 --- a/test/emacs +++ b/test/emacs @@ -783,4 +783,24 @@ EOF test_expect_equal_file OUTPUT EXPECTED +test_begin_subtest "don't process cryptographic MIME parts" +test_emacs '(let ((notmuch-crypto-process-mime nil)) + (notmuch-show "id:20091117203301.GV3165@dottiness.seas.harvard.edu") + (test-visible-output))' +test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-process-crypto-mime-parts-off + +test_begin_subtest "process cryptographic MIME parts" +test_emacs '(let ((notmuch-crypto-process-mime t)) + (notmuch-show "id:20091117203301.GV3165@dottiness.seas.harvard.edu") + (test-visible-output))' +test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-process-crypto-mime-parts-on + +test_begin_subtest "process cryptographic MIME parts (w/ notmuch-show-toggle-process-crypto)" +test_emacs '(let ((notmuch-crypto-process-mime nil)) + (notmuch-show "id:20091117203301.GV3165@dottiness.seas.harvard.edu") + (notmuch-show-toggle-process-crypto) + (test-visible-output))' +test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-process-crypto-mime-parts-on + + test_done -- cgit v1.2.3