From 968965635197a6646688c0edd759f0c4f74181cb Mon Sep 17 00:00:00 2001 From: Dmitry Kurochkin Date: Sun, 6 Nov 2011 13:03:58 +0400 Subject: [PATCH] test: `notmuch-show-advance-and-archive' with invisible signature Add Emacs test to check that `notmuch-show-advance-and-archive' works for the last message in thread with invisible signature. --- test/emacs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/test/emacs b/test/emacs index 0303d7d1..76b18e7d 100755 --- a/test/emacs +++ b/test/emacs @@ -368,6 +368,21 @@ test_emacs "(notmuch-show \"id:$id\") \ (test-visible-output \"EXPECTED\")" test_expect_equal_file OUTPUT EXPECTED +test_begin_subtest 'notmuch-show-advance-and-archive with invisible signature' +test_subtest_known_broken +message1='id:20091118010116.GC25380@dottiness.seas.harvard.edu' +message2='id:1258491078-29658-1-git-send-email-dottedmag@dottedmag.net' +test_emacs "(notmuch-search \"$message1 or $message2\") + (notmuch-test-wait) + (notmuch-search-show-thread) + (goto-char (point-max)) + (redisplay) + (notmuch-show-advance-and-archive) + (test-output)" +test_emacs "(notmuch-show \"$message2\") + (test-output \"EXPECTED\")" +test_expect_equal_file OUTPUT EXPECTED + test_begin_subtest "Refresh show buffer" test_emacs '(notmuch-show "id:f35dbb950911171438k5df6eb56k77b6c0944e2e79ae@mail.gmail.com") (test-visible-output "EXPECTED")