aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/symbol-test.cc
Commit message (Collapse)AuthorAge
* lib/cli: Make notmuch_database_open return a status codeGravatar Austin Clements2012-05-05
| | | | | | | | | | | | It has been a long-standing issue that notmuch_database_open doesn't return any indication of why it failed. This patch changes its prototype to return a notmuch_status_t and set an out-argument to the database itself, like other functions that return both a status and an object. In the interest of atomicity, this also updates every use in the CLI so that notmuch still compiles. Since this patch does not update the bindings, the Python bindings test fails.
* Whitespaces cleanup.Gravatar Amadeusz Żołnowski2011-11-26
|
* Fix warnings for test/symbol-test.cc.Gravatar Amadeusz Żołnowski2011-11-26
|
* tests: add a test for symbol hiding side effectsGravatar David Bremner2011-06-23
The worry here is that a binary linking with libnotmuch might lose access to Xapian::Error symbols because libnotmuch hides them. We are careful here to create ./fakedb/.notmuch in order to trigger a Xapian exception, and not just a missing file check. Thanks to jrollins and amddragon for suggestions. (cherry picked from commit 66f37f5f6864a988f94ddb893e3a176af57f6c8e)