xapian-core  1.4.25
Public Member Functions | List of all members
ApiTestRunner Class Reference
+ Inheritance diagram for ApiTestRunner:
+ Collaboration diagram for ApiTestRunner:

Public Member Functions

int run () const
 Run the tests with a particular backend. More...
 
- Public Member Functions inherited from TestRunner
virtual ~TestRunner ()
 Virtual destructor - needed for abstract class. More...
 
int run_tests (int argc, char **argv)
 Run all the tests. More...
 

Additional Inherited Members

- Public Attributes inherited from TestRunner
unsigned properties
 Property bitmask. More...
 
- Protected Types inherited from TestRunner
enum  {
  BACKEND = 0x00000001, REMOTE = 0x00000002, TRANSACTIONS = 0x00000004, POSITIONAL = 0x00000008,
  WRITABLE = 0x00000010, SPELLING = 0x00000020, METADATA = 0x00000040, SYNONYMS = 0x00000080,
  REPLICAS = 0x00000100, VALUESTATS = 0x00000200, MULTI = 0x00000400, SINGLEFILE = 0x00000800,
  INMEMORY = 0x00001000, GLASS = 0x00002000, COMPACT = 0x00004000, CHERT = 0x00008000,
  PATH = 0x00010000, REMOTETCP = 0x00020000, CHECK = 0x00040000
}
 

Detailed Description

Definition at line 155 of file apitest.cc.

Member Function Documentation

◆ run()

int ApiTestRunner::run ( ) const
inlinevirtual

Run the tests with a particular backend.

Properties of the backend can be determined by checking the settings of the flags.

Implements TestRunner.

Definition at line 158 of file apitest.cc.

References backendmanager, BackendManager::get_dbtype(), test_driver::report(), test_driver::result::reset(), test_driver::subtotal, and test_driver::total.


The documentation for this class was generated from the following file: