PlasCom2  1.0
XPACC Multi-physics simluation application
testmanager Class Reference

Detailed Description

Definition at line 14 of file UtilTest.H.

#include <UtilTest.H>

Public Member Functions

void Prologue ()
 Set up the tests and any test fixture constructs. More...
 
void Test__GetNextContent (test::results &result)
 
void Process (test::results &result)
 Process all tests and populate a "results" object. More...
 
void ProcessTests (std::list< std::string > &test_names, test::results &result)
 Process named tests from a list and populate a "results" object. More...
 
- Public Member Functions inherited from manager< test::results >
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 ()
 

Private Attributes

std::string TestString1
 

Additional Inherited Members

- Public Types inherited from manager< test::results >
typedef test::results Results
 
typedef void(manager::* TestFunctionType) (test::results &)
 
typedef std::map< std::string, TestFunctionTypeFunctionMapType
 
- Protected Attributes inherited from manager< test::results >
FunctionMapType testFunctionMap
 
Inheritance diagram for testmanager:
Collaboration diagram for testmanager:

Member Function Documentation

◆ Process()

void Process ( test::results results)
inlinevirtual

Process all tests and populate a "results" object.

Reimplemented from manager< test::results >.

Definition at line 44 of file UtilTest.H.

References manager< test::results >::Epilogue(), testmanager::Prologue(), and testmanager::Test__GetNextContent().

Referenced by ix::util::UtilTest().

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

◆ ProcessTests()

void ProcessTests ( std::list< std::string > &  names,
test::results results 
)
inlinevirtual

Process named tests from a list and populate a "results" object.

Reimplemented from manager< test::results >.

Definition at line 51 of file UtilTest.H.

References manager< test::results >::Epilogue(), testmanager::Prologue(), and testmanager::Test__GetNextContent().

Here is the call graph for this function:

◆ Prologue()

void Prologue ( )
inlinevirtual

Set up the tests and any test fixture constructs.

Reimplemented from manager< test::results >.

Definition at line 19 of file UtilTest.H.

Referenced by testmanager::Process(), and testmanager::ProcessTests().

Here is the caller graph for this function:

◆ Test__GetNextContent()

void Test__GetNextContent ( test::results result)
inline

Definition at line 32 of file UtilTest.H.

References ix::util::GetNextContent(), and results::UpdateResult().

Referenced by testmanager::Process(), and testmanager::ProcessTests().

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

Member Data Documentation

◆ TestString1

std::string TestString1
private

Definition at line 17 of file UtilTest.H.


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