David Bremner
|
f6e7a9dde5
|
test: replace deprecated use of notmuch_database_open_verbose
We need to do it some day, and it is a bit annoying to read
deprecation messages in broken tests.
|
2022-05-29 07:36:32 -03:00 |
|
David Bremner
|
1643c0459a
|
test: move system includes to notmuch-test.h
This removes some redudant includes, and will also make it easier to
introduce "#define _GNU_SOURCE", which must come before all system
includes.
|
2021-12-04 12:36:08 -04:00 |
|
David Bremner
|
46468baa5a
|
test: regression test for notmuch_query_destroy
As with other void API entries, not crashing counts as success.
|
2020-07-29 12:20:41 -03:00 |
|
David Bremner
|
451c0ce3fc
|
test: regression tests for n_q_count_{messages, threads}
At least these exceptions are caught.
|
2020-07-29 12:20:30 -03:00 |
|
David Bremner
|
0a4c6cdeb1
|
test: regression test for n_q_search_messages
Exception handling matches notmuch_query_search_threads, at least for
this case.
|
2020-07-29 12:20:22 -03:00 |
|
David Bremner
|
25fc8662ed
|
test: regression test for n_q_search_threads
At least this exception is caught.
|
2020-07-29 12:20:14 -03:00 |
|
David Bremner
|
4130b4e514
|
test: add regression test for n_q_add_tag_exclude
This relies on the change to not tear down the auxilary Xapian
objects, in particular the query parser, when the database is closed.
|
2020-07-29 12:20:06 -03:00 |
|
David Bremner
|
d5c84c8289
|
test: regression test for n_q_{set, get}_sort
We just want to make sure accessing the query owned by a closed db
does not cause a crash.
|
2020-07-29 12:19:57 -03:00 |
|
David Bremner
|
a292461e65
|
test: regression test for set_omit_excluded
|
2020-07-29 12:19:48 -03:00 |
|
David Bremner
|
768efe88d0
|
test: regression test for notmuch_query_get_database
Current functionality is too trivial to really justify a test, but
it's simpler just to test the complete API.
|
2020-07-29 12:19:39 -03:00 |
|
David Bremner
|
cbf9f890aa
|
test: add regression test for n_q_{create,_get_query_string}
Start a new file of tests, to keep to the (emerging) scheme of one
notmuch_foo group per file
|
2020-07-29 12:19:09 -03:00 |
|