VICI  0.11.815
Visual Chart Interpreter
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Protected Member Functions | List of all members
VICI::gth::DefaultTestCase Class Reference

Provides a test case to use for actions that don't have an explicit test case. More...

#include <vici/libgth.h>

Inheritance diagram for VICI::gth::DefaultTestCase:
VICI::gth::GTHTestCase VICI::cdi::TestCaseT< DefaultTestCase > VICI::cdi::AbstractTestCase

Public Member Functions

 DefaultTestCase (csr nm)
 Constructor.
 
 ~DefaultTestCase ()
 Destructor.
 
- Public Member Functions inherited from VICI::cdi::TestCaseT< DefaultTestCase >
 TestCaseT (csr nm)
 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...
 

Protected Member Functions

virtual bool runTest ()
 Run the tests for the test case. More...
 
- Protected Member Functions inherited from VICI::gth::GTHTestCase
csr getVar (csr)
 Get the value of a variable from GTHTest.
 
 GTHTestCase (csr name)
 Constructor.
 
 ~GTHTestCase ()
 Destructor.
 
- Protected Member Functions inherited from VICI::cdi::AbstractTestCase
bool test (bool cond, csr testMsg, bool expected=false)
 Perform or record a test. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from VICI::cdi::TestCaseT< DefaultTestCase >
static void install (csr nm, csr scn)
 Install a factory for the test case. More...
 
- Static Public Attributes inherited from VICI::cdi::AbstractTestCase
static const bool EXPECTED = true
 Value for expected parameter of test()
 
- Protected Attributes inherited from VICI::gth::GTHTestCase
GTHTestmyScenario
 The owning scenario.
 
const std::string & name
 The name of the test case, as installed.
 
- 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

Provides a test case to use for actions that don't have an explicit test case.

Member Function Documentation

virtual bool VICI::gth::DefaultTestCase::runTest ( )
inlineprotectedvirtual

Run the tests for the test case.

Derived classes implement this to perform the required tests.

Returns
true if all tests passed.

Implements VICI::cdi::AbstractTestCase.


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