From 5aa833aac4b7c9c999ec960d2fa95810501ff4de Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Tue, 3 Sep 2013 15:04:56 +0100 Subject: [PATCH] [PATCH 0/4] contrib: pick: extra tests --- bd/bd862c91a4cb6cbf626173a4640927ef9ef413 | 86 +++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 bd/bd862c91a4cb6cbf626173a4640927ef9ef413 diff --git a/bd/bd862c91a4cb6cbf626173a4640927ef9ef413 b/bd/bd862c91a4cb6cbf626173a4640927ef9ef413 new file mode 100644 index 000000000..576da4b38 --- /dev/null +++ b/bd/bd862c91a4cb6cbf626173a4640927ef9ef413 @@ -0,0 +1,86 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 24AE9431FD6 + for ; Tue, 3 Sep 2013 07:05:14 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0.201 +X-Spam-Level: +X-Spam-Status: No, score=0.201 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_ENVFROM_END_DIGIT=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 jREqyhLIm09f for ; + Tue, 3 Sep 2013 07:05:08 -0700 (PDT) +Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com + [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 053CE431FC9 + for ; Tue, 3 Sep 2013 07:05:07 -0700 (PDT) +Received: by mail-wi0-f181.google.com with SMTP id c10so3302551wiw.8 + for ; Tue, 03 Sep 2013 07:05:06 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:cc:subject:date:message-id; + bh=tFLkqJPWvzN86fpIY4s7zbCTzV3Ubjat5IHxDdoJA20=; + b=rw/GWFdiZcPeutq0sEa2WIjxO59Nkls3tBLYPn80gKybeZByGfGN8QjqY3/zacdMLB + TTwvNWYtmc3qjd9mwDa5+J1L4yYlLOL7Yy5RoA+jl0dYCvxF82NiM93Wm3oFU0Hn3cFi + Ut5/hF2DecB7iyZpx5YCxoYXq2+GPHCNYq/Dz0Mr4+tQlWj6h0lwfyl4CPpbXgk2Tn5m + ZJXu1wRdCA9K7TKhk3Gi8aLZ6jZrBbQbT7YPLIX5/IkADlItaoh5r5iDgSrFiA6mbcOO + f4gJx6rppm5DXqFP+04lO2X/FJMsIMwzVZfz+y7Lq26wlf6LB3NE1kt9cnDlf26eKDXt + rfjw== +X-Received: by 10.180.36.169 with SMTP id r9mr18400147wij.20.1378217105487; + Tue, 03 Sep 2013 07:05:05 -0700 (PDT) +Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) + by mx.google.com with ESMTPSA id w19sm25992852wia.5.1969.12.31.16.00.00 + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Tue, 03 Sep 2013 07:05:05 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [PATCH 0/4] contrib: pick: extra tests +Date: Tue, 3 Sep 2013 15:04:56 +0100 +Message-Id: <1378217100-27533-1-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 1.7.9.1 +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: Tue, 03 Sep 2013 14:05:14 -0000 + +This series adds some tests for various existing and recently added +functionality. + +The only thing to note is that the xapian tag database and the +displayed tags are update separately so we need to test both. + +Best wishes + +Mark + +Mark Walters (4): + contrib: pick: test: tag/untag single message + contrib: pick: test: tag/untag whole thread + contrib: pick: test: stash message id + contrib: pick: test: buffer movement + + contrib/notmuch-pick/test/emacs-pick | 121 ++++++++++++++++++++ + .../notmuch-pick-tag-inbox-tagged | 53 +++++++++ + .../notmuch-pick-tag-inbox-thread-tagged | 53 +++++++++ + 3 files changed, 227 insertions(+), 0 deletions(-) + create mode 100644 contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-tag-inbox-tagged + create mode 100644 contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-tag-inbox-thread-tagged + +-- +1.7.9.1 + -- 2.26.2