1 Return-Path: <markwalters1009@gmail.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 3DB61429E27
\r
6 for <notmuch@notmuchmail.org>; Mon, 26 Aug 2013 14:09:28 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0.201 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,
\r
14 RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
15 Received: from olra.theworths.org ([127.0.0.1])
\r
16 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id PX2rtY3H77I6 for <notmuch@notmuchmail.org>;
\r
18 Mon, 26 Aug 2013 14:09:22 -0700 (PDT)
\r
19 Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com
\r
20 [209.85.212.177]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
21 (No client certificate requested)
\r
22 by olra.theworths.org (Postfix) with ESMTPS id 131E5431FD7
\r
23 for <notmuch@notmuchmail.org>; Mon, 26 Aug 2013 14:09:19 -0700 (PDT)
\r
24 Received: by mail-wi0-f177.google.com with SMTP id cb5so2231601wib.16
\r
25 for <notmuch@notmuchmail.org>; Mon, 26 Aug 2013 14:09:17 -0700 (PDT)
\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
27 h=from:to:cc:subject:date:message-id:in-reply-to:references;
\r
28 bh=0mxb3S1i42hbklHjvJuBCO0wexFbVz+r+pO46q0N79o=;
\r
29 b=c3S2pSxANCj6oAWoH6OaX9S5CCjPLkPqd2kilPgtWFSf7VzyBpaWBmE7yfN3uohHad
\r
30 p7cbG5wahLoL92tR5SrGMnxqQY3m/kBADWV33yWfHRE2BZK19jW22T9sOl0W02TDEdci
\r
31 4Uf5mOMZ2yV9hwtMVFbQ1HjpNg9dxv1oOOOxZeLVPjfVt5J9ToXcZN9EPVjmx+wOI1Sd
\r
32 H3kOkp1h27ijdWRRulLA2zSRGItnd0e3nsUDgt5T5nJHU318tRhybMdCFPGQjN0oHoE6
\r
33 Q2WO1eioNuVzf9qdtgWQThsvn/Ax/j4OWGh3BJiOAR6of77mT9Z6HUywByidorn7Jm6V
\r
35 X-Received: by 10.194.8.9 with SMTP id n9mr11598510wja.11.1377551357674;
\r
36 Mon, 26 Aug 2013 14:09:17 -0700 (PDT)
\r
37 Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31])
\r
38 by mx.google.com with ESMTPSA id z2sm21384383wiv.11.1969.12.31.16.00.00
\r
39 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
\r
40 Mon, 26 Aug 2013 14:09:17 -0700 (PDT)
\r
41 From: Mark Walters <markwalters1009@gmail.com>
\r
42 To: notmuch@notmuchmail.org
\r
43 Subject: [Patch v2 3/3] contrib: pick: test: refresh view
\r
44 Date: Mon, 26 Aug 2013 22:09:05 +0100
\r
45 Message-Id: <1377551345-27147-4-git-send-email-markwalters1009@gmail.com>
\r
46 X-Mailer: git-send-email 1.7.9.1
\r
47 In-Reply-To: <1377551345-27147-1-git-send-email-markwalters1009@gmail.com>
\r
48 References: <1377551345-27147-1-git-send-email-markwalters1009@gmail.com>
\r
49 X-BeenThere: notmuch@notmuchmail.org
\r
50 X-Mailman-Version: 2.1.13
\r
52 List-Id: "Use and development of the notmuch mail system."
\r
53 <notmuch.notmuchmail.org>
\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
57 List-Post: <mailto:notmuch@notmuchmail.org>
\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
60 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
61 X-List-Received-Date: Mon, 26 Aug 2013 21:09:28 -0000
\r
63 A recent proposed patch was buggy when refreshing the view. Add a test
\r
64 for refresh so that this does not reoccur.
\r
66 contrib/notmuch-pick/test/emacs-pick | 11 +++++++++++
\r
67 1 files changed, 11 insertions(+), 0 deletions(-)
\r
69 diff --git a/contrib/notmuch-pick/test/emacs-pick b/contrib/notmuch-pick/test/emacs-pick
\r
70 index eed5f02..37f974a 100755
\r
71 --- a/contrib/notmuch-pick/test/emacs-pick
\r
72 +++ b/contrib/notmuch-pick/test/emacs-pick
\r
73 @@ -23,6 +23,17 @@ test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")
\r
74 (delete-other-windows)'
\r
75 test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox
\r
77 +test_begin_subtest "Refreshed notmuch-pick view in emacs"
\r
78 +test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")
\r
79 + (require (quote notmuch-pick))
\r
80 + (notmuch-pick "tag:inbox")
\r
81 + (notmuch-test-wait)
\r
82 + (notmuch-pick-refresh-view)
\r
83 + (notmuch-test-wait)
\r
85 + (delete-other-windows)'
\r
86 +test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox
\r
88 test_begin_subtest "Navigation of notmuch-hello to search results"
\r
89 test_emacs '(notmuch-hello)
\r
90 (goto-char (point-min))
\r