1 Return-Path: <daniel@schoepe.org>
\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 EA6F7429E29
\r
6 for <notmuch@notmuchmail.org>; Fri, 16 Dec 2011 16:35:37 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.8 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 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 WqLoKcJafd2l for <notmuch@notmuchmail.org>;
\r
17 Fri, 16 Dec 2011 16:35:37 -0800 (PST)
\r
18 Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com
\r
19 [74.125.83.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client
\r
20 certificate requested) by olra.theworths.org (Postfix) with ESMTPS id
\r
21 1D611431FD0 for <notmuch@notmuchmail.org>; Fri, 16 Dec 2011 16:35:37 -0800
\r
23 Received: by mail-ee0-f53.google.com with SMTP id d41so4348509eek.26
\r
24 for <notmuch@notmuchmail.org>; Fri, 16 Dec 2011 16:35:36 -0800 (PST)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=schoepe.org; s=google;
\r
26 h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;
\r
27 bh=bPDhdyWl8hBT4j13ih6j7F6nBSRCRainAmIJZrAm/6w=;
\r
28 b=U71r2Th6rR97NlGlndiMc5aSGZB7OiUrinbmUb6EjB86gg0Oc0sUNYSfuEeoWtf5FP
\r
29 GXeLmHlwAyINYjkQVJT0eCzqGoTUv4IRIpIeWV4XpoIbJ01ETkilTpoLl5uXeVohFtzd
\r
30 mlehBjMxWXJbD3nDDcMezXnLy+G3ug23qKnzs=
\r
31 Received: by 10.213.110.2 with SMTP id l2mr1847520ebp.143.1324082136655;
\r
32 Fri, 16 Dec 2011 16:35:36 -0800 (PST)
\r
33 Received: from localhost (dslb-088-069-153-158.pools.arcor-ip.net.
\r
35 by mx.google.com with ESMTPS id j20sm4061735eej.8.2011.12.16.16.35.35
\r
36 (version=TLSv1/SSLv3 cipher=OTHER);
\r
37 Fri, 16 Dec 2011 16:35:35 -0800 (PST)
\r
38 From: Daniel Schoepe <daniel@schoepe.org>
\r
39 To: notmuch@notmuchmail.org
\r
40 Subject: [PATCH v4 2/2] emacs: Test for thread-outlining
\r
41 Date: Sat, 17 Dec 2011 01:35:26 +0100
\r
42 Message-Id: <1324082126-25404-3-git-send-email-daniel@schoepe.org>
\r
43 X-Mailer: git-send-email 1.7.7.3
\r
44 In-Reply-To: <1324082126-25404-1-git-send-email-daniel@schoepe.org>
\r
45 References: <1307921480-17130-1-git-send-email-daniel.schoepe@googlemail.com>
\r
46 <1324082126-25404-1-git-send-email-daniel@schoepe.org>
\r
47 Cc: Daniel Schoepe <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: Sat, 17 Dec 2011 00:35:38 -0000
\r
62 From: Daniel Schoepe <daniel.schoepe@googlemail.com>
\r
65 test/emacs | 7 +++++++
\r
66 .../notmuch-show-thread-outline | 7 +++++++
\r
67 2 files changed, 14 insertions(+), 0 deletions(-)
\r
68 create mode 100644 test/emacs.expected-output/notmuch-show-thread-outline
\r
70 diff --git a/test/emacs b/test/emacs
\r
71 index 6e922de..f986d3c 100755
\r
74 @@ -71,6 +71,13 @@ test_emacs "(let ((notmuch-indent-messages-width 4))
\r
76 test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-maildir-storage-with-fourfold-indentation
\r
78 +test_begin_subtest "Thread outlining in notmuch-show"
\r
79 +maildir_storage_thread=$(notmuch search --output=threads id:20091117190054.GU3165@dottiness.seas.harvard.edu)
\r
80 +test_emacs "(notmuch-show \"$maildir_storage_thread\") (notmuch-show-outline)
\r
81 + (switch-to-buffer notmuch-show-outline-buffer)
\r
83 +test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-outline
\r
85 test_begin_subtest "notmuch-show for message with invalid From"
\r
86 add_message "[subject]=\"message-with-invalid-from\"" \
\r
87 "[from]=\"\\\"Invalid \\\" From\\\" <test_suite@notmuchmail.org>\""
\r
88 diff --git a/test/emacs.expected-output/notmuch-show-thread-outline b/test/emacs.expected-output/notmuch-show-thread-outline
\r
89 new file mode 100644
\r
90 index 0000000..b210ba7
\r
92 +++ b/test/emacs.expected-output/notmuch-show-thread-outline
\r
94 +Lars Kellogg-Stedman <lars@seas.harvard.edu> - 2009-11-17
\r
95 + Mikhail Gusarov <dottedmag@dottedmag.net> - 2009-11-17
\r
96 + Lars Kellogg-Stedman <lars@seas.harvard.edu> - 2009-11-17
\r
97 + "Mikhail Gusarov" <dottedmag@dottedmag.net> - 2009-11-17
\r
98 + "Keith Packard" <keithp@keithp.com> - 2009-11-17
\r
99 + Lars Kellogg-Stedman <lars@seas.harvard.edu> - 2009-11-18
\r
100 + "Carl Worth" <cworth@cworth.org> - 2009-11-18
\r