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
|
cea1604a08
|
test: remove directory names from paths in exceptions
These cause failures when building out of tree.
|
2021-12-23 08:47:40 -04: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
|
e8ffbf84ff
|
test: regression test for n_directory_{get,set}_mtime
The mtime is cached, so closing the db is not a problem. Writing the
mtime throws an exception, which is caught.
|
2020-08-03 21:00:25 -03:00 |
|
David Bremner
|
f4f5db0f1a
|
lib: fix return value for n_directory_delete
Falling out of the catch meant the error return was lost
|
2020-08-03 20:59:06 -03:00 |
|
David Bremner
|
b03cc6cf90
|
test: known broken test for n_directory_delete with closed db.
There is a return value bug in notmuch_directory_delete that is hiding
the exception.
|
2020-08-03 20:57:43 -03:00 |
|
David Bremner
|
337665e26a
|
lib: catch exceptions in n_directory_get_child_files
Also clarify API in error case.
|
2020-08-03 20:56:09 -03:00 |
|
David Bremner
|
3890d98966
|
test: add known broken test for n_directory_get_child_files
This is a clone of the one for get_child_directories
|
2020-08-03 20:54:26 -03:00 |
|
David Bremner
|
9668583a49
|
lib: catch exceptions in n_directory_get_child_directories
Also clarify API in error case.
|
2020-08-03 20:53:04 -03:00 |
|
David Bremner
|
919b89156c
|
test: add known broken test for n_directory_get_child_directories
Start a new test file (for the notmuch_directory_* API group) to hold
this test.
|
2020-08-03 20:51:40 -03:00 |
|