21 #ifndef XAPIAN_INCLUDED_APITEST_H
22 #define XAPIAN_INCLUDED_APITEST_H
37 const std::string &arg = std::string());
44 const std::string &arg = std::string());
74 #define SKIP_TEST_UNLESS_BACKEND(B) skip_test_unless_backend(B)
75 #define SKIP_TEST_FOR_BACKEND(B) skip_test_for_backend(B)
Xapian::WritableDatabase get_writable_database(const std::string &db=std::string())
Xapian::Database get_remote_database(const std::string &db, unsigned timeout)
Xapian::Database get_writable_database_as_database()
void skip_test_for_backend(const std::string &backend_prefix)
std::string get_database_path(const std::string &db)
void skip_test_unless_backend(const std::string &backend_prefix)
std::string get_named_writable_database_path(const std::string &name)
Xapian::WritableDatabase get_writable_database_again()
std::string get_compaction_output_path(const std::string &name)
Xapian::WritableDatabase get_named_writable_database(const std::string &name, const std::string &source=std::string())
Xapian::Database get_database(const std::string &db)
void XFAIL_FOR_BACKEND(const std::string &backend_prefix, const char *msg)
This class is used to access a database, or a group of databases.
This class provides read/write access to a database.
unsigned timeout
A timeout value in milliseconds.
a generic test suite engine
Public interfaces for the Xapian library.