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) 80 #endif // XAPIAN_INCLUDED_APITEST_H std::string get_database_path(const std::string &db)
This class is used to access a database, or a group of databases.
unsigned timeout
A timeout value in milliseconds.
std::string get_compaction_output_path(const std::string &name)
Xapian::WritableDatabase get_writable_database_again()
a generic test suite engine
void XFAIL_FOR_BACKEND(const std::string &backend_prefix, const char *msg)
void skip_test_for_backend(const std::string &backend_prefix)
This class provides read/write access to a database.
Public interfaces for the Xapian library.
Xapian::Database get_remote_database(const std::string &db, unsigned timeout)
std::string get_named_writable_database_path(const std::string &name)
Xapian::WritableDatabase get_writable_database(const std::string &db=std::string())
Xapian::WritableDatabase get_named_writable_database(const std::string &name, const std::string &source=std::string())
void skip_test_unless_backend(const std::string &backend_prefix)
Xapian::Database get_database(const std::string &db)
Xapian::Database get_writable_database_as_database()