VICI
0.11.815
Visual Chart Interpreter
|
An AbstractTest derived class for testing GUI programs. More...
#include <vici/libgth.h>
Signals | |
void | testingCompleted () |
This signal is emitted when the main window tests have completed. | |
Public Member Functions | |
void | jumpThread (csr tcname, csr widgetName, csr command, const std::vector< std::string > ¶ms) |
Method for thread jumping. | |
GTHTest (csr name) | |
Costructor. | |
~GTHTest () | |
Destructor. | |
csr | getName () |
Get the name of the scenario. | |
virtual bool | willRunTests () |
Indicate that the scenario will take over from the Tester. | |
virtual void | runTests (csr scenarioName, cdi::ScenarioResults *) |
Run an event loop and wait until the testing completes. | |
void | endMainWindow () |
Called when testing for the main window completes. | |
void | runActions (csr testCase, ConDes) |
Called by the constructor and destructor of a test case. | |
void | assignVariables (const TestAction &, csr result) |
Applies a regular expression to the result to get values for variables. | |
std::string | getJump (const TestAction &, csr result) |
Applies regular expressions to the result to find a jump label. | |
csr | getVar (csr varName) const |
Get the value of a variable. | |
void | substVars (const ParamList &, ParamList &) |
Substitute variables for their values in the parameters. | |
virtual void | windowHasRegistered (GTHWindowWidget *) |
Called to notify of a new window registering itself. | |
virtual void | windowHasDeregistered (GTHWindowWidget *) |
Called to notify that a window has deregistered itself,. | |
void | regWidget (void *w, VICI::gth::WidgetType t, csr n) |
Register a widget so that it can be found by name. | |
std::string | prefix () |
get thread and time | |
Public Member Functions inherited from VICI::cdi::ScenarioT< GTHTest > | |
ScenarioT (csr name) | |
Constructor. More... | |
Public Member Functions inherited from VICI::cdi::AbstractScenario | |
AbstractScenario (csr name) | |
Constructor. More... | |
virtual | ~AbstractScenario () |
Destructor. | |
Public Attributes | |
cdi::ScenarioResults * | results |
Reference to the results. | |
Additional Inherited Members | |
Static Public Member Functions inherited from VICI::cdi::ScenarioT< GTHTest > | |
static void | install (csr nm) |
Install a scenario factor into the Tester. More... | |
Protected Attributes inherited from VICI::cdi::AbstractScenario | |
std::string | scenarioName |
The name of the scenario, as used when installed. | |
An AbstractTest derived class for testing GUI programs.
This object is constructed at the start of a test run and destroyed when the test is finished.