Runner.h File Reference

#include <vector>
#include "TestToolBox/ErrorEventsImpl.h"
#include "TestToolBox/TestEvents.h"
Include dependency graph for Runner.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TestToolBox::FuncInfo
 Info struct for a test function. More...
class  TestToolBox::RunnerExtensionPoints
 Base class for your specific extension class. More...
class  TestToolBox::Runner
 This class runs user defined test functions and organizes their execution. More...
struct  TestToolBox::Runner::Register
 Helper class to register a user defined test function. More...

Defines

#define TTB_TEST_FUNC(param_name)
 Macro to define a test function to be executed under control of TestToolBox::TestRunner().
#define TTB_TEST_FUNC_DESC(param_name, param_description)
 Same as TTB_TEST_FUNC but with possibility to assign an arbitrary descriptive text to the test function.
#define TTB_TEST_CASE(DESC)
 Macro to define a test case.
#define TTB_USE_DEFAULT_TEST_RUNNER()
 Macro to define the default implementation of main function executing all test cases with TestToolBox::TestRunner().
#define TTB_USE_TEST_RUNNER_WITH_EXTENSIONS(YOUR_EXTENSION_CLASS_TYPE)
 Defines main(argc,argv) which executes all test functions via TestToolBox::TestRunner. Specific initializations can be embedded in the test sequence by providing your own extension class.

Typedefs

typedef void TestToolBox::VoidFunc (void)
typedef std::vector< FuncInfo > TestToolBox::FuncInfos
 Vector of test functions.

Functions

Runner * TestToolBox::ShortNames::TestRunner (void)
 Access/create the singleton instance of Runner.
void TestToolBox::ShortNames::Act (const char *in_actualEvent,...)
 Short form for TestEvents::Get()->Act().
void TestToolBox::ShortNames::ReportStoredErrors (void)
 Short form for MyErrorEvents::Get()->ReportStoredErrors();.
void TestToolBox::ShortNames::DeleteStoredErrors (void)
 Short form for MyErrorEvents::Get()->DeleteStoredErrors();.
void TestToolBox::ShortNames::SetIgnoreError (long in_errorMsgNum, bool in_ignore)
 Short form for MyErrorEvents::Get()->SetNotificationActionForErrorMsgNum( msgNum, ACTION_IGNORE/ACTION_NOT_SPECIFIED);.
void TestToolBox::ShortNames::IgnoreErrorContainingTextPattern (std::string const &in_text)
 Short form for MyErrorEvents::Get()->IgnoreErrorContainingTextPattern().
void TestToolBox::ShortNames::ClearStoredErrorTextPatterns (void)
 Short form for MyErrorEvents::Get()->ClearStoredTextPatterns().
void TestToolBox::ShortNames::SetErrorSync (bool in_syncOnError)
 Short form for MyErrorEvents::Get()->SetErrorSync().
void TestToolBox::ShortNames::SetImmediateErrorLog (bool in_immediateLog)
 Short form for MyErrorEvents::Get()->SetImmediateErrorLog().
bool TestToolBox::ShortNames::ErrorOk (long in_extErrorId)
 Short form for MyErrorEvents::Get()->ErrorOk().

Detailed Description

Author:
Gerald Fahrnholz
Generated on Fri May 27 22:46:06 2011 for TestToolBox by  doxygen 1.6.3