1 Return-Path: <daniel.schoepe@googlemail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 7BAC1429E2F
\r
6 for <notmuch@notmuchmail.org>; Fri, 8 Jul 2011 11:47:15 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id hkOdBCbMzvlo for <notmuch@notmuchmail.org>;
\r
17 Fri, 8 Jul 2011 11:47:14 -0700 (PDT)
\r
18 Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com
\r
19 [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 4829D431FD0
\r
22 for <notmuch@notmuchmail.org>; Fri, 8 Jul 2011 11:47:14 -0700 (PDT)
\r
23 Received: by bwg12 with SMTP id 12so2199993bwg.26
\r
24 for <notmuch@notmuchmail.org>; Fri, 08 Jul 2011 11:47:12 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
26 d=googlemail.com; s=gamma;
\r
27 h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;
\r
28 bh=vAUStobZ6/TCYB4i4Je6fA9BM214eVr1UqWW107h2jA=;
\r
29 b=nxfT5AcVC0D2vUl5EwNoNX4E95Gd1KdsunPejVThLiOygexq904e5pVs3GQMyzuLCx
\r
30 Vd4R2bhUJL8mgIjaf5qBIdBhGDSJN4cRjdJ854vwQUti27T6lQVH9ZyGRBjgEXVghNM5
\r
31 ROMmtLhBCgFTFLgzNuH4zYqyZC/UImz0gjGB4=
\r
32 Received: by 10.204.7.85 with SMTP id c21mr492444bkc.260.1310150832476;
\r
33 Fri, 08 Jul 2011 11:47:12 -0700 (PDT)
\r
34 Received: from localhost (dslb-178-004-020-175.pools.arcor-ip.net
\r
36 by mx.google.com with ESMTPS id m6sm5418497fac.1.2011.07.08.11.47.10
\r
37 (version=TLSv1/SSLv3 cipher=OTHER);
\r
38 Fri, 08 Jul 2011 11:47:11 -0700 (PDT)
\r
39 From: Daniel Schoepe <daniel.schoepe@googlemail.com>
\r
40 To: notmuch@notmuchmail.org
\r
41 Subject: [PATCH v2 3/3] emacs: Test for thread-outlining
\r
42 Date: Fri, 8 Jul 2011 20:46:57 +0200
\r
43 Message-Id: <1310150817-15213-4-git-send-email-daniel.schoepe@googlemail.com>
\r
44 X-Mailer: git-send-email 1.7.5.4
\r
45 In-Reply-To: <1310150817-15213-1-git-send-email-daniel.schoepe@googlemail.com>
\r
46 References: <1307921480-17130-1-git-send-email-daniel.schoepe@googlemail.com>
\r
47 <1310150817-15213-1-git-send-email-daniel.schoepe@googlemail.com>
\r
48 X-BeenThere: notmuch@notmuchmail.org
\r
49 X-Mailman-Version: 2.1.13
\r
51 List-Id: "Use and development of the notmuch mail system."
\r
52 <notmuch.notmuchmail.org>
\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
56 List-Post: <mailto:notmuch@notmuchmail.org>
\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
60 X-List-Received-Date: Fri, 08 Jul 2011 18:47:15 -0000
\r
63 test/emacs | 7 +++++++
\r
64 .../notmuch-show-thread-outline | 7 +++++++
\r
65 2 files changed, 14 insertions(+), 0 deletions(-)
\r
66 create mode 100644 test/emacs.expected-output/notmuch-show-thread-outline
\r
68 diff --git a/test/emacs b/test/emacs
\r
69 index 53f455a..1b14280 100755
\r
72 @@ -55,6 +55,13 @@ test_emacs "(notmuch-show \"$maildir_storage_thread\")
\r
74 test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-maildir-storage
\r
76 +test_begin_subtest "Thread outlining in notmuch-show"
\r
77 +maildir_storage_thread=$(notmuch search --output=threads id:20091117190054.GU3165@dottiness.seas.harvard.edu)
\r
78 +test_emacs "(notmuch-show \"$maildir_storage_thread\") (notmuch-show-outline)
\r
79 + (switch-to-buffer notmuch-show-outline-buffer)
\r
81 +test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-outline
\r
83 test_begin_subtest "notmuch-show for message with invalid From"
\r
84 add_message "[subject]=\"message-with-invalid-from\"" \
\r
85 "[from]=\"\\\"Invalid \\\" From\\\" <test_suite@notmuchmail.org>\""
\r
86 diff --git a/test/emacs.expected-output/notmuch-show-thread-outline b/test/emacs.expected-output/notmuch-show-thread-outline
\r
87 new file mode 100644
\r
88 index 0000000..b210ba7
\r
90 +++ b/test/emacs.expected-output/notmuch-show-thread-outline
\r
92 +Lars Kellogg-Stedman <lars@seas.harvard.edu> - 2009-11-17
\r
93 + Mikhail Gusarov <dottedmag@dottedmag.net> - 2009-11-17
\r
94 + Lars Kellogg-Stedman <lars@seas.harvard.edu> - 2009-11-17
\r
95 + "Mikhail Gusarov" <dottedmag@dottedmag.net> - 2009-11-17
\r
96 + "Keith Packard" <keithp@keithp.com> - 2009-11-17
\r
97 + Lars Kellogg-Stedman <lars@seas.harvard.edu> - 2009-11-18
\r
98 + "Carl Worth" <cworth@cworth.org> - 2009-11-18
\r