The C++ framework for developing highly scalable, high performance servers on Windows platforms.

Runner Class Reference

Collaboration diagram for Runner:

List of all members.

Public Member Functions

 Runner ()
Runneradd (TestCaseFactory factory)
 Adds a test to the suite.
int runCommandLine (int argc, const char *argv[]) const
 Runs test as specified on the command-line If no command-line arguments are provided, run all tests. If --list-tests is provided, then print the list of all test cases If --test <testname> is provided, then run test testname.
bool runAllTest (bool printSummary) const
 Runs all the test cases.
unsigned int testCount () const
 Returns the number of test case in the suite.
std::string testNameAt (unsigned int index) const
 Returns the name of the test case at the specified index.
void runTestAt (unsigned int index, TestResult &result) const
 Runs the test case at the specified index using the specified TestResult.

Static Public Member Functions

static void printUsage (const char *appName)


Constructor & Destructor Documentation

Runner (  ) 


Member Function Documentation

Runner & add ( TestCaseFactory  factory  ) 

Adds a test to the suite.

int runCommandLine ( int  argc,
const char *  argv[] 
) const

Runs test as specified on the command-line If no command-line arguments are provided, run all tests. If --list-tests is provided, then print the list of all test cases If --test <testname> is provided, then run test testname.

bool runAllTest ( bool  printSummary  )  const

Runs all the test cases.

unsigned int testCount (  )  const

Returns the number of test case in the suite.

std::string testNameAt ( unsigned int  index  )  const

Returns the name of the test case at the specified index.

void runTestAt ( unsigned int  index,
TestResult result 
) const

Runs the test case at the specified index using the specified TestResult.

void printUsage ( const char *  appName  )  [static]


Generated on Sun Sep 12 19:12:02 2021 for The Server Framework - v7.4 by doxygen 1.5.3