aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/missing-headers
Commit message (Collapse)AuthorAge
* test: pass expected output through json_sanitize in 2 placesGravatar David Bremner2013-12-09
| | | | | This makes the tests more robust against changes in the sanitization rules.
* search: Add stable queries to thread search resultsGravatar Austin Clements2013-11-08
| | | | | | | | | | | | | | These queries will match exactly the set of messages currently in the thread, even if more messages later arrive. Two queries are provided: one for matched messages and one for unmatched messages. This can be used to fix race conditions with tagging threads from search results. While tagging based on a thread: query can affect messages that arrived after the search, tagging based on stable queries affects only the messages the user was shown in the search UI. Since we want clients to be able to depend on the presence of these queries, this ushers in schema version 2.
* sprinters: bugfix when NULL passed for a string.Gravatar Mark Walters2012-08-12
| | | | | | | | | | | | The string function in a sprinter may be called with a NULL string pointer (eg if a header is absent). This causes a segfault. We fix this by checking for a null pointer in the string functions and update the sprinter documentation. At the moment some output when format=text is done directly rather than via an sprinter: in that case a null pointer is passed to printf or similar and a "(null)" appears in the output. That behaviour is not changed in this patch.
* test: Add test for messages with missing headersGravatar Austin Clements2012-08-12
Currently the JSON tests for search and show are broken because notmuch attempts to dereference a NULL pointer.