From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 43647429E21 for ; Sun, 6 Nov 2011 01:04:13 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nAWjjHouyzVa for ; Sun, 6 Nov 2011 01:04:12 -0800 (PST) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 79C2C431FB6 for ; Sun, 6 Nov 2011 01:04:12 -0800 (PST) Received: by bkaq10 with SMTP id q10so1189410bka.26 for ; Sun, 06 Nov 2011 01:04:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:x-mailer:in-reply-to:references; bh=G5N7xOsA4Xmmu6bgYhMbhe7zMXcjCqNUjNkRB/ppXuo=; b=vRaHDFl1Y7nCQxmSEHjSSWNyollQIaqznUrcL7tdECEkcsahGwVLoaic0AFbYGl+kq 5K5adn01yYH6KWTgUKr73SfL20mJrsoYZV+QCID/VP/P2htANzFOETBbIc7zvL9hDOoi o+dta0NJVEYD58vAuZBaZbNXQRsdSZvytmYoA= Received: by 10.204.142.151 with SMTP id q23mr6631870bku.75.1320570251149; Sun, 06 Nov 2011 01:04:11 -0800 (PST) Received: from localhost ([91.144.186.21]) by mx.google.com with ESMTPS id e14sm13988047bka.0.2011.11.06.01.04.10 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 06 Nov 2011 01:04:10 -0800 (PST) From: Dmitry Kurochkin To: notmuch@notmuchmail.org Subject: [PATCH v3 1/4] test: `notmuch-show-advance-and-archive' with invisible signature Date: Sun, 6 Nov 2011 13:03:58 +0400 Message-Id: <1320570241-30733-1-git-send-email-dmitry.kurochkin@gmail.com> X-Mailer: git-send-email 1.7.7.1 In-Reply-To: <87bospvd1v.fsf@gmail.com> References: <87bospvd1v.fsf@gmail.com> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Nov 2011 09:04:13 -0000 Add Emacs test to check that `notmuch-show-advance-and-archive' works for the last message in thread with invisible signature. --- test/emacs | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/test/emacs b/test/emacs index 0303d7d..1aa5299 100755 --- a/test/emacs +++ b/test/emacs @@ -368,6 +368,20 @@ test_emacs "(notmuch-show \"id:$id\") \ (test-visible-output \"EXPECTED\")" test_expect_equal_file OUTPUT EXPECTED +test_begin_subtest 'notmuch-show-advance-and-archive with invisible signature' +message1='id:20091118010116.GC25380@dottiness.seas.harvard.edu' +message2='id:1258491078-29658-1-git-send-email-dottedmag@dottedmag.net' +test_emacs "(notmuch-search \"$message1 or $message2\") + (notmuch-test-wait) + (notmuch-search-show-thread) + (goto-char (point-max)) + (redisplay) + (notmuch-show-advance-and-archive) + (test-output)" +test_emacs "(notmuch-show \"$message2\") + (test-output \"EXPECTED\")" +test_expect_equal_file OUTPUT EXPECTED + test_begin_subtest "Refresh show buffer" test_emacs '(notmuch-show "id:f35dbb950911171438k5df6eb56k77b6c0944e2e79ae@mail.gmail.com") (test-visible-output "EXPECTED") -- 1.7.7.1