PlasCom2  1.0
XPACC Multi-physics simluation application
testmanager Class Reference

Detailed Description

Definition at line 15 of file ProfilerTest.H.

#include <ProfilerTest.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__BasicTimer (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 20 of file ProfilerTest.H.

Constructor & Destructor Documentation

◆ testmanager()

testmanager ( )
inline

Definition at line 21 of file ProfilerTest.H.

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

Here is the call graph for this function:

Member Function Documentation

◆ AddTest()

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

Definition at line 33 of file ProfilerTest.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 28 of file ProfilerTest.H.

References testmanager::Test__BasicTimer().

Referenced by main().

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

◆ Test__BasicTimer()

void Test__BasicTimer ( test::results result)

Definition at line 136 of file TestProfiler.C.

References ProfilerObj::Finalize(), ProfilerObj::FunctionEntry(), ProfilerObj::FunctionExit(), ProfilerObj::Init(), ProfilerObj::SummarizeSerialExecution(), and ix::profiler::Time().

Referenced by testmanager::SetDriverProgram(), and testmanager::testmanager().

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

Member Data Documentation

◆ driverProgram

TestGlobalType* driverProgram
protected

Definition at line 18 of file ProfilerTest.H.


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