X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2Femacs;h=afe35bae09f26a8e938657575e8ff48672c4f685;hb=ddb009519d24ca6cae64608f2d4a93ca6e78d80a;hp=e9f954c37d5cfa985ed144e82c572c97cd027c56;hpb=97efed0f0854c2231625057738c1c2db7b37c139;p=notmuch diff --git a/test/emacs b/test/emacs index e9f954c3..afe35bae 100755 --- a/test/emacs +++ b/test/emacs @@ -35,6 +35,16 @@ test_emacs '(notmuch-search "tag:inbox") (test-output)' test_expect_equal_file OUTPUT $EXPECTED/notmuch-search-tag-inbox +test_begin_subtest "Incremental parsing of search results" +test_emacs "(ad-enable-advice 'notmuch-search-process-filter 'around 'pessimal) + (ad-activate 'notmuch-search-process-filter) + (notmuch-search \"tag:inbox\") + (notmuch-test-wait) + (ad-disable-advice 'notmuch-search-process-filter 'around 'pessimal) + (ad-activate 'notmuch-search-process-filter) + (test-output)" +test_expect_equal_file OUTPUT $EXPECTED/notmuch-search-tag-inbox + test_begin_subtest "Navigation of notmuch-hello to search results" test_emacs '(notmuch-hello) (goto-char (point-min))