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

Public Member Functions

 SoakTestRunner ()
 
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...
 

Private Attributes

string seed_str
 

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 52 of file soaktest.cc.

Constructor & Destructor Documentation

◆ SoakTestRunner()

SoakTestRunner::SoakTestRunner ( )
inline

Definition at line 56 of file soaktest.cc.

References test_driver::add_command_line_option().

Member Function Documentation

◆ run()

int SoakTestRunner::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 60 of file soaktest.cc.

References g_random_seed.

Member Data Documentation

◆ seed_str

string SoakTestRunner::seed_str
private

Definition at line 54 of file soaktest.cc.


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