[PATCH 2/2] contrib: pick: remove sync tests
authorMark Walters <markwalters1009@gmail.com>
Mon, 26 Aug 2013 19:57:23 +0000 (20:57 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:56:40 +0000 (09:56 -0800)
e6/dd7a31f12de4f3d2f1076d609f135b380282a8 [new file with mode: 0644]

diff --git a/e6/dd7a31f12de4f3d2f1076d609f135b380282a8 b/e6/dd7a31f12de4f3d2f1076d609f135b380282a8
new file mode 100644 (file)
index 0000000..428b8ef
--- /dev/null
@@ -0,0 +1,156 @@
+Return-Path: <markwalters1009@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 23A71431FD4\r
+       for <notmuch@notmuchmail.org>; Mon, 26 Aug 2013 12:57:40 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.201\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.201 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
+       RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id FKESTGy+XmvW for <notmuch@notmuchmail.org>;\r
+       Mon, 26 Aug 2013 12:57:35 -0700 (PDT)\r
+Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com\r
+       [209.85.212.175]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 9206F431FD7\r
+       for <notmuch@notmuchmail.org>; Mon, 26 Aug 2013 12:57:34 -0700 (PDT)\r
+Received: by mail-wi0-f175.google.com with SMTP id cb5so2161803wib.2\r
+       for <notmuch@notmuchmail.org>; Mon, 26 Aug 2013 12:57:32 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=from:to:cc:subject:date:message-id:in-reply-to:references;\r
+       bh=TxAPIKu5DqMdiNOayMz2tyEI/H+7P2+VkKgDT7dN2Kc=;\r
+       b=JWv2iniphFE5mLoFGOhFBZpo0uFwSkjCeASbBhHYJLGGXEk9gsnfeAKhQ2BjH/Skxj\r
+       udw6+UIQeqjibPh/rqGO3aVqRwj/I6bdMfl77vl8F0lG+4bEktmI4m0h1o9eQ7ZtTPBq\r
+       2qcscLfuea12rC25h2SIoRUULa2R8O/SFoqIa92Y9cLg+pn93orDElQZibUnaHtHwgRW\r
+       ZWUsvZQK0WPpPDFjbbCRd3l5ORtcBwe5aB1eANs28WpYZJZXOr5vjrliqYtTJ4vSGESe\r
+       jckG1t7RuZ3mONpwOnrDwvpgS60Qicu4d2njVSX9Jr23NOZCDIH2KOh/G2rQqCU8ZrUb\r
+       OFoA==\r
+X-Received: by 10.180.80.229 with SMTP id u5mr8780497wix.59.1377547052112;\r
+       Mon, 26 Aug 2013 12:57:32 -0700 (PDT)\r
+Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31])\r
+       by mx.google.com with ESMTPSA id r6sm21005724wiw.0.1969.12.31.16.00.00\r
+       (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+       Mon, 26 Aug 2013 12:57:31 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 2/2] contrib: pick: remove sync tests\r
+Date: Mon, 26 Aug 2013 20:57:23 +0100\r
+Message-Id: <1377547043-17584-3-git-send-email-markwalters1009@gmail.com>\r
+X-Mailer: git-send-email 1.7.9.1\r
+In-Reply-To: <1377547043-17584-1-git-send-email-markwalters1009@gmail.com>\r
+References: <1377547043-17584-1-git-send-email-markwalters1009@gmail.com>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 26 Aug 2013 19:57:40 -0000\r
+\r
+Since the previous commit removed the sync parser we may as well\r
+remove its tests too.\r
+---\r
+ contrib/notmuch-pick/run-tests.sh         |    2 +-\r
+ contrib/notmuch-pick/test/emacs-pick-sync |   64 -----------------------------\r
+ 2 files changed, 1 insertions(+), 65 deletions(-)\r
+ delete mode 100755 contrib/notmuch-pick/test/emacs-pick-sync\r
+\r
+diff --git a/contrib/notmuch-pick/run-tests.sh b/contrib/notmuch-pick/run-tests.sh\r
+index 7ddc9cc..b642ae8 100755\r
+--- a/contrib/notmuch-pick/run-tests.sh\r
++++ b/contrib/notmuch-pick/run-tests.sh\r
+@@ -7,7 +7,7 @@ fail() {\r
+     exit 1\r
+ }\r
\r
+-TESTS="emacs-pick emacs-pick-sync"\r
++TESTS="emacs-pick"\r
+ TESTFILES="$TESTS pick.expected-output"\r
\r
+ export PICK_DIR="`cd \`dirname "$0"\` && pwd`"\r
+diff --git a/contrib/notmuch-pick/test/emacs-pick-sync b/contrib/notmuch-pick/test/emacs-pick-sync\r
+deleted file mode 100755\r
+index a7da0ff..0000000\r
+--- a/contrib/notmuch-pick/test/emacs-pick-sync\r
++++ /dev/null\r
+@@ -1,64 +0,0 @@\r
+-#!/usr/bin/env bash\r
+-\r
+-test_description="emacs pick interface (sync parser)"\r
+-. test-lib.sh\r
+-\r
+-EXPECTED=$TEST_DIRECTORY/pick.expected-output\r
+-\r
+-add_email_corpus\r
+-test_begin_subtest "Do we have emacs"\r
+-test_emacs '(insert "hello\n")\r
+-          (test-output)'\r
+-cat <<EOF >EXPECTED\r
+-hello\r
+-EOF\r
+-test_expect_equal_file OUTPUT EXPECTED\r
+-\r
+-test_begin_subtest "Basic notmuch-pick view in emacs"\r
+-test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")\r
+-          (require (quote notmuch-pick))\r
+-          (setq notmuch-pick-asynchronous-parser nil)\r
+-          (notmuch-pick "tag:inbox")\r
+-          (notmuch-test-wait)\r
+-          (test-output)\r
+-          (delete-other-windows)'\r
+-test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox\r
+-\r
+-test_begin_subtest "Navigation of notmuch-hello to search results"\r
+-test_emacs '(notmuch-hello)\r
+-          (goto-char (point-min))\r
+-          (re-search-forward "inbox")\r
+-          (widget-button-press (1- (point)))\r
+-          (notmuch-test-wait)\r
+-          (notmuch-pick-from-search-current-query)\r
+-          (notmuch-test-wait)\r
+-          (test-output)\r
+-          (delete-other-windows)'\r
+-test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox\r
+-\r
+-test_begin_subtest "Pick of a single thread (from search)"\r
+-test_emacs '(notmuch-hello)\r
+-          (goto-char (point-min))\r
+-          (re-search-forward "inbox")\r
+-          (widget-button-press (1- (point)))\r
+-          (notmuch-test-wait)\r
+-          (notmuch-pick-from-search-thread)\r
+-          (notmuch-test-wait)\r
+-          (test-output)\r
+-          (delete-other-windows)'\r
+-test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-single-thread\r
+-\r
+-test_begin_subtest "Pick of a single thread (from show)"\r
+-test_emacs '(notmuch-hello)\r
+-          (goto-char (point-min))\r
+-          (re-search-forward "inbox")\r
+-          (widget-button-press (1- (point)))\r
+-          (notmuch-test-wait)\r
+-          (notmuch-search-show-thread)\r
+-          (notmuch-pick-from-show-current-query)\r
+-          (notmuch-test-wait)\r
+-          (test-output)\r
+-          (delete-other-windows)'\r
+-test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-single-thread\r
+-\r
+-test_done\r
+-- \r
+1.7.9.1\r
+\r