<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/T395-ruby.sh, branch 0.31</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.31</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.31'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2017-10-20T22:52:49Z</updated>
<entry>
<title>test: use $(dirname "$0") for sourcing test-lib.sh</title>
<updated>2017-10-20T22:52:49Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2017-09-25T20:38:19Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a863de1e43ee34f6f5794a2759fdceb287e851aa'/>
<id>urn:sha1:a863de1e43ee34f6f5794a2759fdceb287e851aa</id>
<content type='text'>
Don't assume the tests are always run from within the source tree.
</content>
</entry>
<entry>
<title>test: standardize argument order to test_expect_equal_file</title>
<updated>2017-04-06T17:37:02Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-04-05T00:36:29Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ec3937b5cd2884504d5536dc8631a15fd506050b'/>
<id>urn:sha1:ec3937b5cd2884504d5536dc8631a15fd506050b</id>
<content type='text'>
It is annoying to debug failing tests when the interpretation of the
diffs is reversed for some tests.
</content>
</entry>
<entry>
<title>ruby: add bindings for `notmuch_database_get_all_tags`</title>
<updated>2016-05-19T11:02:43Z</updated>
<author>
<name>Ludovic LANGE</name>
<email>ll-notmuchmail@lange.nom.fr</email>
</author>
<published>2016-03-06T11:56:28Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7e6e23c36e290d4b22b0449766a6ef2107f1ef6c'/>
<id>urn:sha1:7e6e23c36e290d4b22b0449766a6ef2107f1ef6c</id>
<content type='text'>
The Ruby bindings were missing a way to get all the tags of the
database. Now you should be able to access this with the public
instance method `all_tags` of your database object.

Example of use:
    notmuchdb = Notmuch::Database.new path, { :create =&gt; false,
    	:mode =&gt; Notmuch::MODE_READ_ONLY }

    my_tags = notmuchdb.all_tags

    my_tags.each { |tag|
      print tag
    }

    my_tags.destroy!

Amended by db: improve error reporting, add test
</content>
</entry>
<entry>
<title>test: make script exit (1) if it "fails" to source (.) a file</title>
<updated>2015-08-07T19:56:39Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2015-08-06T09:13:36Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=02a2eeb427d6b424029f6e5e5ddad4c6ec987741'/>
<id>urn:sha1:02a2eeb427d6b424029f6e5e5ddad4c6ec987741</id>
<content type='text'>
The files (test) scripts source (with builtin command `.`) provides
information which the scripts depend, and without the `source` to
succeed allowing script to continue may lead to dangerous situations
(e.g. rm -rf "${undefined_variable}"/*).

At the end of all source (.) lines construct ' || exit 1' was added;
In our case the script script will exit if it cannot find (or read) the
file to be sourced. Additionally script would also exits if the last
command of the sourced file exited nonzero.
</content>
</entry>
<entry>
<title>test: add initial ruby tests</title>
<updated>2015-06-14T16:00:52Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2015-06-01T07:09:02Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d9567dd5b5b6f9e4c5bcc45776a08c5578f1650d'/>
<id>urn:sha1:d9567dd5b5b6f9e4c5bcc45776a08c5578f1650d</id>
<content type='text'>
This is pretty much a line by line translation of the existing python
tests, with two new tests for the count API.
</content>
</entry>
</feed>
