---
 test/emacs                                         |    7 +++++++
 .../notmuch-show-thread-outline                    |    7 +++++++
 2 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 test/emacs.expected-output/notmuch-show-thread-outline

diff --git a/test/emacs b/test/emacs
index 53f455a..1b14280 100755
--- a/test/emacs
+++ b/test/emacs
@@ -55,6 +55,13 @@ test_emacs "(notmuch-show \"$maildir_storage_thread\")
            (test-output)"
 test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-maildir-storage
 
+test_begin_subtest "Thread outlining in notmuch-show"
+maildir_storage_thread=$(notmuch search --output=threads 
id:[email protected])
+test_emacs "(notmuch-show \"$maildir_storage_thread\") (notmuch-show-outline)
+          (switch-to-buffer notmuch-show-outline-buffer)
+          (test-output)"
+test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-outline
+
 test_begin_subtest "notmuch-show for message with invalid From"
 add_message "[subject]=\"message-with-invalid-from\"" \
            "[from]=\"\\\"Invalid \\\" From\\\" <[email protected]>\""
diff --git a/test/emacs.expected-output/notmuch-show-thread-outline 
b/test/emacs.expected-output/notmuch-show-thread-outline
new file mode 100644
index 0000000..b210ba7
--- /dev/null
+++ b/test/emacs.expected-output/notmuch-show-thread-outline
@@ -0,0 +1,7 @@
+Lars Kellogg-Stedman <[email protected]> - 2009-11-17
+ Mikhail Gusarov <[email protected]> - 2009-11-17
+  Lars Kellogg-Stedman <[email protected]> - 2009-11-17
+   "Mikhail Gusarov" <[email protected]> - 2009-11-17
+   "Keith Packard" <[email protected]> - 2009-11-17
+    Lars Kellogg-Stedman <[email protected]> - 2009-11-18
+ "Carl Worth" <[email protected]> - 2009-11-18
-- 
1.7.5.4

_______________________________________________
notmuch mailing list
[email protected]
http://notmuchmail.org/mailman/listinfo/notmuch

Reply via email to