test: add database routines for testing
authorDavid Bremner <bremner@debian.org>
Sun, 5 Aug 2012 18:13:11 +0000 (15:13 -0300)
committerDavid Bremner <bremner@debian.org>
Sun, 2 Dec 2012 19:51:32 +0000 (15:51 -0400)
commit990e3988ce0f8ad1993e91635a46904c3c75fff5
treef08f004334ddfa8488e530480c1fd8faf9ce2a36
parenta09115ae1dcbc698aeb70fe9ef050ca3220bc112
test: add database routines for testing

Initially, provide a way to create "stub" messages in the notmuch
database without corresponding files.  This is essentially cut and
paste from lib/database.cc. This is a seperate file since we don't
want to export these symbols from libnotmuch or bloat the library with
non-exported code.
test/Makefile.local
test/database-test.c [new file with mode: 0644]
test/database-test.h [new file with mode: 0644]