diff options
author | Mark Walters <markwalters1009@gmail.com> | 2013-10-26 23:02:07 +0100 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2013-10-29 08:14:22 -0300 |
commit | dae09c690b898909ad551feaf265e86f91bf3630 (patch) | |
tree | 831d4e668d6f5bafaa9e97974013ed04373b6075 /contrib | |
parent | e265a67c5531b7d3f10706875332502371a8fb98 (diff) |
pick: rename test outputs from pick to tree
Rename all the test output files to tree rather than pick, move the
containing directory to a tree.expected-output and fix up the
references in the test.
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/notmuch-pick/run-tests.sh | 2 | ||||
-rwxr-xr-x | contrib/notmuch-pick/test/emacs-pick | 22 | ||||
-rw-r--r-- | contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-show-window (renamed from contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-show-window) | 0 | ||||
-rw-r--r-- | contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-single-thread (renamed from contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-single-thread) | 0 | ||||
-rw-r--r-- | contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-tag-inbox (renamed from contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-tag-inbox) | 0 | ||||
-rw-r--r-- | contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-tag-inbox-tagged (renamed from contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-tag-inbox-tagged) | 0 | ||||
-rw-r--r-- | contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-tag-inbox-thread-tagged (renamed from contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-tag-inbox-thread-tagged) | 0 |
7 files changed, 12 insertions, 12 deletions
diff --git a/contrib/notmuch-pick/run-tests.sh b/contrib/notmuch-pick/run-tests.sh index b642ae80..4832d72b 100755 --- a/contrib/notmuch-pick/run-tests.sh +++ b/contrib/notmuch-pick/run-tests.sh @@ -8,7 +8,7 @@ fail() { } TESTS="emacs-pick" -TESTFILES="$TESTS pick.expected-output" +TESTFILES="$TESTS tree.expected-output" export PICK_DIR="`cd \`dirname "$0"\` && pwd`" PICK_TEST_DIR="$PICK_DIR/test" diff --git a/contrib/notmuch-pick/test/emacs-pick b/contrib/notmuch-pick/test/emacs-pick index 2cc3edcb..05ce85d0 100755 --- a/contrib/notmuch-pick/test/emacs-pick +++ b/contrib/notmuch-pick/test/emacs-pick @@ -3,7 +3,7 @@ test_description="emacs tree view interface" . test-lib.sh -EXPECTED=$TEST_DIRECTORY/pick.expected-output +EXPECTED=$TEST_DIRECTORY/tree.expected-output add_email_corpus test_begin_subtest "Do we have emacs" @@ -21,7 +21,7 @@ test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") (notmuch-test-wait) (test-output) (delete-other-windows)' -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox +test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox test_begin_subtest "Refreshed notmuch-tree view in emacs" test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") @@ -32,7 +32,7 @@ test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") (notmuch-test-wait) (test-output) (delete-other-windows)' -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox +test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox # In the following tag tests we make sure the display is updated # correctly and, in a separate test, that the database is updated @@ -47,7 +47,7 @@ test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") (notmuch-tree-tag (list "+test_tag")) (test-output) (delete-other-windows)' -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox-tagged +test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox-tagged test_begin_subtest "Tag message in notmuch tree view (database)" output=$(notmuch search --output=messages 'tag:test_tag') @@ -62,7 +62,7 @@ test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") (notmuch-tree-tag (list "-test_tag")) (test-output) (delete-other-windows)' -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox +test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox test_begin_subtest "Untag message in notmuch tree view (database)" output=$(notmuch search --output=messages 'tag:test_tag') @@ -78,7 +78,7 @@ test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") (notmuch-tree-tag-thread (list "+test_thread_tag")) (test-output) (delete-other-windows)' -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox-thread-tagged +test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox-thread-tagged test_begin_subtest "Tag message in notmuch tree view (database)" output=$(notmuch search --output=messages 'tag:test_thread_tag') @@ -101,7 +101,7 @@ test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") (notmuch-tree-tag-thread (list "-test_thread_tag")) (test-output) (delete-other-windows)' -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox +test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox test_begin_subtest "Untag message in notmuch tree view (database)" output=$(notmuch search --output=messages 'tag:test_thread_tag') @@ -117,7 +117,7 @@ test_emacs '(notmuch-hello) (notmuch-test-wait) (test-output) (delete-other-windows)' -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox +test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox test_begin_subtest "Tree view of a single thread (from search)" test_emacs '(notmuch-hello) @@ -129,7 +129,7 @@ test_emacs '(notmuch-hello) (notmuch-test-wait) (test-output) (delete-other-windows)' -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-single-thread +test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-single-thread test_begin_subtest "Tree view of a single thread (from show)" test_emacs '(notmuch-hello) @@ -142,7 +142,7 @@ test_emacs '(notmuch-hello) (notmuch-test-wait) (test-output) (delete-other-windows)' -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-single-thread +test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-single-thread test_begin_subtest "Message window of tree view" test_emacs '(notmuch-hello) @@ -157,7 +157,7 @@ test_emacs '(notmuch-hello) (test-output) (delete-other-windows)' cp OUTPUT /tmp/mjwout -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-show-window +test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-show-window test_begin_subtest "Stash id" output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") diff --git a/contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-show-window b/contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-show-window index e16792b8..e16792b8 100644 --- a/contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-show-window +++ b/contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-show-window diff --git a/contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-single-thread b/contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-single-thread index c9e5ef82..c9e5ef82 100644 --- a/contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-single-thread +++ b/contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-single-thread diff --git a/contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-tag-inbox b/contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-tag-inbox index 484141ec..484141ec 100644 --- a/contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-tag-inbox +++ b/contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-tag-inbox diff --git a/contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-tag-inbox-tagged b/contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-tag-inbox-tagged index 1f75a34b..1f75a34b 100644 --- a/contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-tag-inbox-tagged +++ b/contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-tag-inbox-tagged diff --git a/contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-tag-inbox-thread-tagged b/contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-tag-inbox-thread-tagged index a7aba6e2..a7aba6e2 100644 --- a/contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-tag-inbox-thread-tagged +++ b/contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-tag-inbox-thread-tagged |