<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/corpus, branch 0.23.2</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.23.2</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.23.2'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2016-09-17T11:39:34Z</updated>
<entry>
<title>test: make it possible to have multiple corpora</title>
<updated>2016-09-17T11:39:34Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2016-09-13T17:14:08Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=971cdc72cdb80f060193bc0914dc9badcc29696b'/>
<id>urn:sha1:971cdc72cdb80f060193bc0914dc9badcc29696b</id>
<content type='text'>
We largely use the corpus under test/corpus for
testing. Unfortunately, many of our tests have grown to depend on
having exactly this set of messages, making it hard to add new message
files for testing specific cases.

We do use a lot of add_message from within the tests, but it's not
possible to use that for adding broken messages, and adding several
messages at once can get unwieldy.

Move the basic corpus under tests/corpora/default, and make it
possible to add new, independent corpora along its side. This means
tons of renames with a few tweaks to add_email_corpus function in
test-lib.sh to let tests specify which corpus to use.
</content>
</entry>
<entry>
<title>test: rearrange the test corpus into subfolders, fix tests</title>
<updated>2014-03-11T22:50:12Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-03-09T12:25:37Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ded713c39d8b0221a3b1b2b52a74966c20c3aba8'/>
<id>urn:sha1:ded713c39d8b0221a3b1b2b52a74966c20c3aba8</id>
<content type='text'>
We will need this for improved folder search tests, but having some
folders should exercise our code paths better anyway.

Modify the relevant test accordingly to make it pass.

This reorganization triggers a bug in the test suite, namely that it
expects the output of --output=files to be in a certain order. So we
add the fix for that into the same commit.

This mainly involves sorting, although the case --duplicate=$n
requires more subtlety.
</content>
</entry>
<entry>
<title>test: add two new messages to corpus with iso-8859-1 encoding</title>
<updated>2012-01-01T03:04:01Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2012-01-01T02:15:02Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7da6733e890b913281afd5061cf5a648094a1eb4'/>
<id>urn:sha1:7da6733e890b913281afd5061cf5a648094a1eb4</id>
<content type='text'>
One is quoted printable, the other users 8 bit encoding. The latter
triggers a bug in the python bindings due to missing call to
g_mime_init. The corresponding test is marked broken in this commit.
</content>
</entry>
<entry>
<title>test:Expect multiple filenames for message with multiple files</title>
<updated>2011-06-28T19:05:50Z</updated>
<author>
<name>Mark Anderson</name>
<email>ma.skies@gmail.com</email>
</author>
<published>2011-06-24T22:36:40Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c87da6961d218db1d80cc9a164910a02401a96e5'/>
<id>urn:sha1:c87da6961d218db1d80cc9a164910a02401a96e5</id>
<content type='text'>
Update the test mail corpus to have two files with the same content to
expose the bug where a single message with multiple filenames only
reports a single filename.

Update expected results for search --output=files to match new
behavior for multiple files corresponding to a single message

Signed-off-by: Mark Anderson &lt;ma.skies@gmail.com&gt;
</content>
</entry>
<entry>
<title>test: Move corpus emails into maildir directory structure</title>
<updated>2010-11-11T12:17:29Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-11T12:17:29Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f6ec7ca78f867c2ae27d0dba154a2395ccf15f52'/>
<id>urn:sha1:f6ec7ca78f867c2ae27d0dba154a2395ccf15f52</id>
<content type='text'>
Now that we have maildir synchronization turned on by default, it's
advantageous to make all of the tests exercise it as much as possible.
</content>
</entry>
<entry>
<title>test: Update mail corpus with original mails (with attachments).</title>
<updated>2010-11-06T00:19:51Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-06T00:17:53Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=484639453a8eee0581d00e7d7da85c31df39c4c8'/>
<id>urn:sha1:484639453a8eee0581d00e7d7da85c31df39c4c8</id>
<content type='text'>
The original mails used to pupulate the mail corpus had had their
attachments (obnoxiously) scrubbed by the pipermail mail archiver.
Since we actually want to test the handling of attachments, this is
less than useful. Restore these files from my own collection, (with
some Received and similar headers pruned).
</content>
</entry>
<entry>
<title>test: Add a corpus of email messages to be used in testing.</title>
<updated>2010-09-20T23:37:53Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-09-20T23:37:53Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d805866ec502540e80b6209bfb6a54fd24ff4458'/>
<id>urn:sha1:d805866ec502540e80b6209bfb6a54fd24ff4458</id>
<content type='text'>
This is simply 50 messages from the early history of the notmuch mailing
list, (fetched from the public archives).
</content>
</entry>
</feed>
