]> rtime.felk.cvut.cz Git - notmuch.git/commit
test: Add new tests for out-of-order messages.
authorJames Westby <jw+debian@jameswestby.net>
Sat, 13 Mar 2010 21:27:57 +0000 (16:27 -0500)
committerCarl Worth <cworth@cworth.org>
Mon, 12 Apr 2010 21:04:35 +0000 (14:04 -0700)
commit4a9b41f1da63039a17a62a49dd1649bcf1ca5a99
treeb54ac294afe1dabf53112225abd617234aeae81d
parente1bc5fc9c7766fb53f687dbca2db3dd9d0df0e9f
test: Add new tests for out-of-order messages.

These new tests demonstrate a bug as follows:

  Multiple messages are added to the database

  All of these message references a common parent

  The parent message does not exist in the databas

In this scenario, the messages will not be recognized as belonging to
the same thread. We consider this a bug, and the new tests treat this
as a failure.

Edited by Carl Worth <cworth@cworth.org>: Split these tests into their
own commit (before the fix of the bug). This lets me see the actual
failure in the test suite, before the fix is applied. Also fix the
alignment of new messages from test suite, (so that the PASS portions
all line up---which is important while we're still manually verifying
test-suite results).
test/notmuch-test