<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/emacs, branch debian/0.6_254</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=debian%2F0.6_254</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=debian%2F0.6_254'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2011-06-15T14:07:32Z</updated>
<entry>
<title>test emacs: Add tests for hiding messages in notmuch-show view</title>
<updated>2011-06-15T14:07:32Z</updated>
<author>
<name>Dmitry Kurochkin</name>
<email>dmitry.kurochkin@gmail.com</email>
</author>
<published>2011-05-26T21:38:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=59b251ef940609dac7e17528065a39544463e0b4'/>
<id>urn:sha1:59b251ef940609dac7e17528065a39544463e0b4</id>
<content type='text'>
This test is expected to fail as it exposes a current bug, (which we
hope to fix soon).
</content>
</entry>
<entry>
<title>test: Add test that emacs detects and hides top-post quotes of original messages</title>
<updated>2011-06-10T23:28:26Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2011-06-10T23:28:26Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d5edb1122db86dadd0d98dd8ccf3431e4d021337'/>
<id>urn:sha1:d5edb1122db86dadd0d98dd8ccf3431e4d021337</id>
<content type='text'>
This tests the recently-added detection/hiding of top-posted quotations and
in the testing, it takes advantage of the less-recently-added
visible-buffer-string function for emitting only the visible text
from a buffer.
</content>
</entry>
<entry>
<title>test: update emacs test to use test_expect_equal_file</title>
<updated>2011-06-03T21:29:05Z</updated>
<author>
<name>Jameson Graef Rollins</name>
<email>jrollins@finestructure.net</email>
</author>
<published>2011-05-28T20:46:24Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5b0bf70faa57651993b5e80a3a25467c12e5f9cf'/>
<id>urn:sha1:5b0bf70faa57651993b5e80a3a25467c12e5f9cf</id>
<content type='text'>
This is a much cleaner way to do the emacs tests, since we're actually
comparing output against existing files with expected output.  We also
won't miss any trailing newlines this way.

And speaking of which, one of the expected output files was actually
missing a trailing blank line that was actually in one of the original
messages, so this was fixed.
</content>
</entry>
<entry>
<title>test: add "notmuch-show for message with invalid From" test</title>
<updated>2011-06-03T21:07:19Z</updated>
<author>
<name>Dmitry Kurochkin</name>
<email>dmitry.kurochkin@gmail.com</email>
</author>
<published>2011-05-12T13:56:26Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=79a587d9636b8d0064f50bef8651ec6ccd1a94fb'/>
<id>urn:sha1:79a587d9636b8d0064f50bef8651ec6ccd1a94fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: add test for saving attachments using notmuch-show-save-part</title>
<updated>2011-05-31T22:10:27Z</updated>
<author>
<name>Dmitry Kurochkin</name>
<email>dmitry.kurochkin@gmail.com</email>
</author>
<published>2011-05-10T03:30:51Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5a7a1d499786f103dfdbd81e30ead72aad214ac1'/>
<id>urn:sha1:5a7a1d499786f103dfdbd81e30ead72aad214ac1</id>
<content type='text'>
Use .gz filenames for saved attachments in the tests to check
that Emacs does not re-compress the file.

Use test_expect_equal_file instead of test_expect_equal to avoid
binary output on the console.
</content>
</entry>
<entry>
<title>test: use `princ' instead of `message' calls in emacs tests</title>
<updated>2011-05-27T23:07:29Z</updated>
<author>
<name>Dmitry Kurochkin</name>
<email>dmitry.kurochkin@gmail.com</email>
</author>
<published>2011-05-10T06:25:08Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a0ebd5c5e47fd6a5effaa81a4ea39f2d16b709d1'/>
<id>urn:sha1:a0ebd5c5e47fd6a5effaa81a4ea39f2d16b709d1</id>
<content type='text'>
The patch replaces all (message (buffer-string)) calls in emacs
tests with (princ (buffer-string)).  This avoids accidentally
interpreting '%' as format specifiers and makes code simpler
because we do not need to capture stderr.

Also, the patch works around an Emacs (23.3+1-1 on current Debian
Unstable) segfault in "Ensure that emacs doesn't drop results"
test.  Note: the segfault does not happen on every test run.
Though, it seems to be consistently reproducible if the test uses
300 messages instead of 30.  Hopefully, it is the crash described
in Emacs bug #8545 [1] which is already fixed.

[1] http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8545
</content>
</entry>
<entry>
<title>test: change "#!/bin/bash" to "#!/usr/bin/env bash" enhances portability</title>
<updated>2011-05-27T21:03:28Z</updated>
<author>
<name>Joel Borggrén-Franck</name>
<email>jbf@codehouse.se</email>
</author>
<published>2010-12-01T20:27:52Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3fa843216c918fe4a6151e55947cf3a7f46fcdb5'/>
<id>urn:sha1:3fa843216c918fe4a6151e55947cf3a7f46fcdb5</id>
<content type='text'>
Change #!/bin/bash at start of tests to "#!/usr/bin/env bash". That way
systems running on bash &lt; 4 can prepend bash &gt;= 4 to path before
running the tests.
</content>
</entry>
<entry>
<title>test: add test for hiding/showing signature in notmuch-show view</title>
<updated>2011-05-24T22:30:45Z</updated>
<author>
<name>Dmitry Kurochkin</name>
<email>dmitry.kurochkin@gmail.com</email>
</author>
<published>2011-05-22T18:57:55Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=31b7c04ae1f239c463bc6dcb838acbe4d94c3e2e'/>
<id>urn:sha1:31b7c04ae1f239c463bc6dcb838acbe4d94c3e2e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update test suite for 7 tests that were recently fixed.</title>
<updated>2010-12-08T00:35:47Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-12-08T00:35:47Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e2556542325a74bb0284ae21764c58249dd7bef7'/>
<id>urn:sha1:e2556542325a74bb0284ae21764c58249dd7bef7</id>
<content type='text'>
These tests had been broken, but were fixed by the preceding commit,
so update the test suite to print PASS rather than FIXED for these.
</content>
</entry>
<entry>
<title>Make author order tests more strict.</title>
<updated>2010-12-08T00:21:35Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2010-11-17T19:27:59Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a18a15326c9bc392828c91a465b5c514cddfb539'/>
<id>urn:sha1:a18a15326c9bc392828c91a465b5c514cddfb539</id>
<content type='text'>
Use varying dates in the test messages to test the order authors are
listed in.  Add tests with repeated author names and unusual date
ordering.  Most of these are broken at the moment, but will be fixed
shortly.

Edited-by: Carl Worth &lt;cworth@cworth.org&gt;: Also update the expected
results for existing emacs tests that currently codify the incorrect
author ordering, (and similarly note them as broken in the current
test suite).
</content>
</entry>
</feed>
