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 BF567429E33 for ; Fri, 16 Dec 2011 16:16:49 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.8 X-Spam-Level: X-Spam-Status: No, score=-0.8 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 nfSSkwLVcSm1 for ; Fri, 16 Dec 2011 16:16:48 -0800 (PST) Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com [74.125.83.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id D3713429E2F for ; Fri, 16 Dec 2011 16:16:45 -0800 (PST) Received: by mail-ee0-f53.google.com with SMTP id d41so4339652eek.26 for ; Fri, 16 Dec 2011 16:16:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=schoepe.org; s=google; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=BoKBtBbYPGW2BofTJ9u0ERVPDPBOa1KijKKgF9oMUAY=; b=GWkARzA8GlMT20khzMsxtSzJGZ7EgsJzqsmsQjTb646L0Kux1BXs3zyI6K2YaE2BnC JsWJft0CjBa8PWEBrqd/iea8ZwZvNxG4lPkG+7bwmoUjMhB5QnexyUTtZ/1NHsGDtB85 JgHROPkPwOVjcuyz2O8Cqep+m3FkZaitWcRBw= Received: by 10.213.9.197 with SMTP id m5mr750422ebm.85.1324081005291; Fri, 16 Dec 2011 16:16:45 -0800 (PST) Received: from localhost (dslb-088-069-153-158.pools.arcor-ip.net. [88.69.153.158]) by mx.google.com with ESMTPS id 58sm3836982eet.11.2011.12.16.16.16.43 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 16 Dec 2011 16:16:44 -0800 (PST) From: Daniel Schoepe To: notmuch@notmuchmail.org Subject: [PATCH v2 2/2] emacs: Test for thread-outlining Date: Sat, 17 Dec 2011 01:16:34 +0100 Message-Id: <1324080994-18146-3-git-send-email-daniel@schoepe.org> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1324080994-18146-1-git-send-email-daniel@schoepe.org> References: <1307921480-17130-1-git-send-email-daniel.schoepe@googlemail.com> <1324080994-18146-1-git-send-email-daniel@schoepe.org> Cc: Daniel Schoepe 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: Sat, 17 Dec 2011 00:16:50 -0000 From: Daniel Schoepe --- test/emacs | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/test/emacs b/test/emacs index 6e922de..e706909 100755 --- a/test/emacs +++ b/test/emacs @@ -71,6 +71,13 @@ test_emacs "(let ((notmuch-indent-messages-width 4)) (test-output))" test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-maildir-storage-with-fourfold-indentation +test_begin_subtest "Thread outlining in notmuch-show" +maildir_storage_thread=$(notmuch search --output=threads id:20091117190054.GU3165@dottiness.seas.harvard.edu) +test_emacs "(notmuch-show \"$maildir_storage_thread\") (notmuch-show-outline) + (switch-to-buffer notmuch-show-outline-buffer) + (test-output)" +test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-outline + test_begin_subtest "notmuch-show for message with invalid From" add_message "[subject]=\"message-with-invalid-from\"" \ "[from]=\"\\\"Invalid \\\" From\\\" \"" -- 1.7.7.3