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());
56 int* port_ptr =
nullptr);
83 #define SKIP_TEST_UNLESS_BACKEND(B) skip_test_unless_backend(B)
84 #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_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())
void kill_remote(const Xapian::Database &db)
Kill the server associated with remote database db.
Xapian::Database get_remote_database(const std::string &db, unsigned timeout, int *port_ptr=nullptr)
Xapian::Database get_database(const std::string &db)
void XFAIL_FOR_BACKEND(const std::string &backend_prefix, const char *msg)
An indexed database of documents.
This class provides read/write access to a database.
a generic test suite engine
Public interfaces for the Xapian library.