VICI  0.11.815
Visual Chart Interpreter
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Static Public Member Functions | List of all members
VICI::cdi::AsyncTestCaseT< T > Class Template Reference

Responsible for installing the factory for the test case type. More...

#include <testmgr.h>

Inheritance diagram for VICI::cdi::AsyncTestCaseT< T >:
VICI::cdi::AsyncTestCase VICI::cdi::AbstractTestCase

Public Member Functions

 AsyncTestCaseT (csr nm)
 Constructor. More...
 
- Public Member Functions inherited from VICI::cdi::AsyncTestCase
 AsyncTestCase (csr name)
 Constructor. More...
 
- Public Member Functions inherited from VICI::cdi::AbstractTestCase
 AbstractTestCase (csr nm)
 Constructor. More...
 
virtual ~AbstractTestCase ()
 Destructor. More...
 
virtual bool operator() (ScenarioResults *)
 Execute the tests. More...
 

Static Public Member Functions

static void install (csr nm, csr scn)
 Install the factory for the test case. More...
 

Additional Inherited Members

- Static Public Attributes inherited from VICI::cdi::AbstractTestCase
static const bool EXPECTED = true
 Value for expected parameter of test()
 
- Protected Member Functions inherited from VICI::cdi::AsyncTestCase
virtual void initTest ()=0
 Initiate the test case. More...
 
virtual void handleEvent (TestEvent *ev)=0
 Handle the events. More...
 
virtual void timedOut ()=0
 Handle time out. More...
 
- Protected Member Functions inherited from VICI::cdi::AbstractTestCase
bool test (bool cond, csr testMsg, bool expected=false)
 Perform or record a test. More...
 
- Protected Attributes inherited from VICI::cdi::AsyncTestCase
bool done
 This should be set by the handleEvent function.
 
std::chrono::steady_clock::time_point startTime
 The time when the test is started.
 
std::chrono::steady_clock::duration timeOut
 The time to wait. The default is 10 seconds.
 
- Protected Attributes inherited from VICI::cdi::AbstractTestCase
std::string name
 The name of the test case.
 
ScenarioResultsscenario
 Results for the scenario are placed in here.
 

Detailed Description

template<class T>
class VICI::cdi::AsyncTestCaseT< T >

Responsible for installing the factory for the test case type.

Constructor & Destructor Documentation

template<class T >
VICI::cdi::AsyncTestCaseT< T >::AsyncTestCaseT ( csr  nm)
inline

Constructor.

Parameters
nmThe name of the test case

Member Function Documentation

template<class T >
static void VICI::cdi::AsyncTestCaseT< T >::install ( csr  nm,
csr  scn 
)
inlinestatic

Install the factory for the test case.

Parameters
nmThe name of the test case
scnThe name of the enclosing scenario.

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