[PATCH 2/2] test: Update tests for new 'Tags' header.

David Edmondson dme at dme.org
Thu Jan 26 10:16:29 PST 2012


---
 test/emacs                                         |    3 +++
 .../notmuch-show-thread-maildir-storage            |    7 +++++++
 ...hread-maildir-storage-with-fourfold-indentation |    7 +++++++
 ...show-thread-maildir-storage-without-indentation |    7 +++++++
 4 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/test/emacs b/test/emacs
index f150d95..eda5438 100755
--- a/test/emacs
+++ b/test/emacs
@@ -82,6 +82,7 @@ cat <<EOF >EXPECTED
 Subject: message-with-invalid-from
 To: Notmuch Test Suite <test_suite at notmuchmail.org>
 Date: Fri, 05 Jan 2001 15:43:57 +0000
+Tags: inbox
 
 This is just a test message (#1)
 EOF
@@ -332,6 +333,7 @@ echo "Notmuch Test Suite <test_suite at notmuchmail.org> (2001-01-05) (inbox)
 Subject: The problem with top-posting
 To: Notmuch Test Suite <test_suite at notmuchmail.org>
 Date: Fri, 05 Jan 2001 15:43:57 +0000
+Tags: inbox
 
 A: Because it messes up the order in which people normally read text.
 Q: Why is top-posting such a bad thing?
@@ -341,6 +343,7 @@ Top Poster <top at poster.com> (2001-01-05) (inbox unread)
 Subject: Re: The problem with top-posting
 To: Notmuch Test Suite <test_suite at notmuchmail.org>
 Date: Fri, 05 Jan 2001 15:43:57 +0000
+Tags: inbox unread
 
 Thanks for the advice! I will be sure to put it to good use.
 
diff --git a/test/emacs.expected-output/notmuch-show-thread-maildir-storage b/test/emacs.expected-output/notmuch-show-thread-maildir-storage
index cdbfa1d..3e7d3fb 100644
--- a/test/emacs.expected-output/notmuch-show-thread-maildir-storage
+++ b/test/emacs.expected-output/notmuch-show-thread-maildir-storage
@@ -2,6 +2,7 @@ Lars Kellogg-Stedman <lars at seas.harvard.edu> (2009-11-17) (inbox signed)
 Subject: [notmuch] Working with Maildir storage?
 To: notmuch at notmuchmail.org
 Date: Tue, 17 Nov 2009 14:00:54 -0500
+Tags: inbox signed
 
 [ multipart/mixed ]
 [ multipart/signed ]
@@ -42,6 +43,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch
  Subject: Re: [notmuch] Working with Maildir storage?
  To: notmuch at notmuchmail.org
  Date: Wed, 18 Nov 2009 01:02:38 +0600
+ Tags: inbox signed unread
 
  [ multipart/mixed ]
  [ multipart/signed ]
@@ -74,6 +76,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch
   To: Mikhail Gusarov <dottedmag at dottedmag.net>
   Cc: notmuch at notmuchmail.org
   Date: Tue, 17 Nov 2009 15:33:01 -0500
+  Tags: inbox signed unread
 
   [ multipart/mixed ]
   [ multipart/signed ]
@@ -105,6 +108,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch
    Subject: [notmuch] Working with Maildir storage?
    To: notmuch at notmuchmail.org
    Date: Wed, 18 Nov 2009 02:50:48 +0600
+   Tags: inbox unread
 
    Twas brillig at 15:33:01 17.11.2009 UTC-05 when lars at seas.harvard.edu
    did gyre and gimble:
@@ -133,6 +137,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch
    Subject: [notmuch] Working with Maildir storage?
    To: notmuch at notmuchmail.org
    Date: Tue, 17 Nov 2009 13:24:13 -0800
+   Tags: inbox unread
 
    On Tue, 17 Nov 2009 15:33:01 -0500, Lars Kellogg-Stedman <lars at
    seas.harvard.edu> wrote:
@@ -156,6 +161,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch
     To: Keith Packard <keithp at keithp.com>
     Cc: notmuch at notmuchmail.org
     Date: Tue, 17 Nov 2009 19:50:40 -0500
+    Tags: inbox signed unread
 
     [ multipart/mixed ]
     [ multipart/signed ]
@@ -182,6 +188,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch
  Subject: [notmuch] Working with Maildir storage?
  To: notmuch at notmuchmail.org
  Date: Wed, 18 Nov 2009 02:08:10 -0800
+ Tags: inbox unread
 
  On Tue, 17 Nov 2009 14:00:54 -0500, Lars Kellogg-Stedman <lars at
  seas.harvard.edu> wrote:
diff --git a/test/emacs.expected-output/notmuch-show-thread-maildir-storage-with-fourfold-indentation b/test/emacs.expected-output/notmuch-show-thread-maildir-storage-with-fourfold-indentation
index b0bf93e..6245c2e 100644
--- a/test/emacs.expected-output/notmuch-show-thread-maildir-storage-with-fourfold-indentation
+++ b/test/emacs.expected-output/notmuch-show-thread-maildir-storage-with-fourfold-indentation
@@ -2,6 +2,7 @@ Lars Kellogg-Stedman <lars at seas.harvard.edu> (2009-11-17) (inbox signed)
 Subject: [notmuch] Working with Maildir storage?
 To: notmuch at notmuchmail.org
 Date: Tue, 17 Nov 2009 14:00:54 -0500
+Tags: inbox signed
 
 [ multipart/mixed ]
 [ multipart/signed ]
@@ -42,6 +43,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch
     Subject: Re: [notmuch] Working with Maildir storage?
     To: notmuch at notmuchmail.org
     Date: Wed, 18 Nov 2009 01:02:38 +0600
+    Tags: inbox signed unread
 
     [ multipart/mixed ]
     [ multipart/signed ]
@@ -74,6 +76,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch
 	To: Mikhail Gusarov <dottedmag at dottedmag.net>
 	Cc: notmuch at notmuchmail.org
 	Date: Tue, 17 Nov 2009 15:33:01 -0500
+	Tags: inbox signed unread
 
 	[ multipart/mixed ]
 	[ multipart/signed ]
@@ -105,6 +108,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch
 	    Subject: [notmuch] Working with Maildir storage?
 	    To: notmuch at notmuchmail.org
 	    Date: Wed, 18 Nov 2009 02:50:48 +0600
+	    Tags: inbox unread
 
 	    Twas brillig at 15:33:01 17.11.2009 UTC-05 when lars at seas.harvard.edu
 	    did gyre and gimble:
@@ -133,6 +137,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch
 	    Subject: [notmuch] Working with Maildir storage?
 	    To: notmuch at notmuchmail.org
 	    Date: Tue, 17 Nov 2009 13:24:13 -0800
+	    Tags: inbox unread
 
 	    On Tue, 17 Nov 2009 15:33:01 -0500, Lars Kellogg-Stedman <lars at
 	    seas.harvard.edu> wrote:
@@ -156,6 +161,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch
 		To: Keith Packard <keithp at keithp.com>
 		Cc: notmuch at notmuchmail.org
 		Date: Tue, 17 Nov 2009 19:50:40 -0500
+		Tags: inbox signed unread
 
 		[ multipart/mixed ]
 		[ multipart/signed ]
@@ -182,6 +188,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch
     Subject: [notmuch] Working with Maildir storage?
     To: notmuch at notmuchmail.org
     Date: Wed, 18 Nov 2009 02:08:10 -0800
+    Tags: inbox unread
 
     On Tue, 17 Nov 2009 14:00:54 -0500, Lars Kellogg-Stedman <lars at
     seas.harvard.edu> wrote:
diff --git a/test/emacs.expected-output/notmuch-show-thread-maildir-storage-without-indentation b/test/emacs.expected-output/notmuch-show-thread-maildir-storage-without-indentation
index 08de8b5..17214f7 100644
--- a/test/emacs.expected-output/notmuch-show-thread-maildir-storage-without-indentation
+++ b/test/emacs.expected-output/notmuch-show-thread-maildir-storage-without-indentation
@@ -2,6 +2,7 @@ Lars Kellogg-Stedman <lars at seas.harvard.edu> (2009-11-17) (inbox signed)
 Subject: [notmuch] Working with Maildir storage?
 To: notmuch at notmuchmail.org
 Date: Tue, 17 Nov 2009 14:00:54 -0500
+Tags: inbox signed
 
 [ multipart/mixed ]
 [ multipart/signed ]
@@ -42,6 +43,7 @@ Mikhail Gusarov <dottedmag at dottedmag.net> (2009-11-17) (inbox signed unread)
 Subject: Re: [notmuch] Working with Maildir storage?
 To: notmuch at notmuchmail.org
 Date: Wed, 18 Nov 2009 01:02:38 +0600
+Tags: inbox signed unread
 
 [ multipart/mixed ]
 [ multipart/signed ]
@@ -74,6 +76,7 @@ Subject: Re: [notmuch] Working with Maildir storage?
 To: Mikhail Gusarov <dottedmag at dottedmag.net>
 Cc: notmuch at notmuchmail.org
 Date: Tue, 17 Nov 2009 15:33:01 -0500
+Tags: inbox signed unread
 
 [ multipart/mixed ]
 [ multipart/signed ]
@@ -105,6 +108,7 @@ Mikhail Gusarov <dottedmag at dottedmag.net> (2009-11-17) (inbox unread)
 Subject: [notmuch] Working with Maildir storage?
 To: notmuch at notmuchmail.org
 Date: Wed, 18 Nov 2009 02:50:48 +0600
+Tags: inbox unread
 
 Twas brillig at 15:33:01 17.11.2009 UTC-05 when lars at seas.harvard.edu
 did gyre and gimble:
@@ -133,6 +137,7 @@ Keith Packard <keithp at keithp.com> (2009-11-17) (inbox unread)
 Subject: [notmuch] Working with Maildir storage?
 To: notmuch at notmuchmail.org
 Date: Tue, 17 Nov 2009 13:24:13 -0800
+Tags: inbox unread
 
 On Tue, 17 Nov 2009 15:33:01 -0500, Lars Kellogg-Stedman <lars at
 seas.harvard.edu> wrote:
@@ -156,6 +161,7 @@ Subject: Re: [notmuch] Working with Maildir storage?
 To: Keith Packard <keithp at keithp.com>
 Cc: notmuch at notmuchmail.org
 Date: Tue, 17 Nov 2009 19:50:40 -0500
+Tags: inbox signed unread
 
 [ multipart/mixed ]
 [ multipart/signed ]
@@ -182,6 +188,7 @@ Carl Worth <cworth at cworth.org> (2009-11-18) (inbox unread)
 Subject: [notmuch] Working with Maildir storage?
 To: notmuch at notmuchmail.org
 Date: Wed, 18 Nov 2009 02:08:10 -0800
+Tags: inbox unread
 
 On Tue, 17 Nov 2009 14:00:54 -0500, Lars Kellogg-Stedman <lars at
 seas.harvard.edu> wrote:
-- 
1.7.8.3



More information about the notmuch mailing list