PlasCom2  1.0
XPACC Multi-physics simluation application
testmanager Class Reference

Detailed Description

Definition at line 14 of file SysTest.H.

#include <SysTest.H>

Public Types

typedef void(testmanager::* SuperTestFunction) (test::results &)
 
- Public Types inherited from manager< test::results >
typedef test::results Results
 
typedef void(manager::* TestFunctionType) (test::results &)
 
typedef std::map< std::string, TestFunctionTypeFunctionMapType
 

Public Member Functions

 testmanager ()
 
void SetDriverProgram (TestGlobalType *inProgram)
 
void Test__SystemInfo (test::results &result)
 
void AddTest (const std::string &testName, SuperTestFunction TestFunction)
 
- Public Member Functions inherited from manager< test::results >
virtual void Prologue ()
 Set up the tests and any test fixture constructs. More...
 
virtual void Process (Results &results)
 Process all tests and populate a "results" object. More...
 
virtual void ProcessTests (std::list< std::string > &names, Results &results)
 Process named tests from a list and populate a "results" object. More...
 
virtual void RunTest (const std::string &name, Results &results)
 Run a particular test. More...
 
virtual void Epilogue ()
 Clean up any test fixtures that need cleaning. More...
 
virtual void AddTest (const std::string &testName, TestFunctionType TestFunc)
 Add a test. More...
 
FunctionMapTypeFunctionMap ()
 
virtual void ListTests (std::ostream &outStream)
 
virtual ~manager ()
 

Protected Attributes

TestGlobalTypedriverProgram
 
- Protected Attributes inherited from manager< test::results >
FunctionMapType testFunctionMap
 
Inheritance diagram for testmanager:
Collaboration diagram for testmanager:

Member Typedef Documentation

◆ SuperTestFunction

typedef void(testmanager::* SuperTestFunction) (test::results &)

Definition at line 19 of file SysTest.H.

Constructor & Destructor Documentation

◆ testmanager()

testmanager ( )
inline

Definition at line 20 of file SysTest.H.

References testmanager::AddTest(), and testmanager::Test__SystemInfo().

Here is the call graph for this function:

Member Function Documentation

◆ AddTest()

void AddTest ( const std::string &  testName,
SuperTestFunction  TestFunction 
)
inline

Definition at line 26 of file SysTest.H.

References manager< ResultsType >::AddTest().

Referenced by testmanager::testmanager().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetDriverProgram()

void SetDriverProgram ( TestGlobalType inProgram)
inline

Definition at line 24 of file SysTest.H.

References testmanager::Test__SystemInfo().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Test__SystemInfo()

Member Data Documentation

◆ driverProgram

TestGlobalType* driverProgram
protected

Definition at line 17 of file SysTest.H.

Referenced by testmanager::Test__SystemInfo().


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