|
VICI
0.11.815
Visual Chart Interpreter
|
The namespace for the GUI Test Harness. More...
Classes | |
| class | Adaptor |
| Defines an abstract base class for widget adaptors. More... | |
| class | LuaScript |
| Provides a wrapper for a lua_State object. More... | |
| struct | TestAction |
| A single action that can be applied to a GUI. More... | |
| class | TestsForWindow |
| Provides a thread for applying test cases to a window. More... | |
| class | UserEscaper |
| A class for allowing the user to suspend the test. More... | |
| class | GTHTest |
| An AbstractTest derived class for testing GUI programs. More... | |
| class | GTHTestCase |
| Interface for test cases that do gui testing. More... | |
| class | DefaultTestCase |
| Provides a test case to use for actions that don't have an explicit test case. More... | |
| class | ScriptXML |
| Provides an interface to the script XML file. More... | |
| class | MouseEventReporter |
| Provides a means of getting scene coordinates in a QGraphicsView. More... | |
| class | AdaptorST |
| Adds a static method to Adaptor to describe it;. More... | |
| class | AdaptorT |
| The interpreter for the script commands. More... | |
Typedefs | |
| typedef std::vector< std::string > | ParamList |
| ParamList is used for the parameters of a command. | |
|
typedef std::vector< std::list < std::string > > | ListOfLists |
| ListOfLists is used to describe the commands and parameters of an Adaptor. | |
|
typedef std::shared_ptr < ScriptXML > | ScriptXmlPtr |
| Provide for automatic destruction when owner is deleted. | |
|
typedef std::shared_ptr < LuaScript > | LuaScriptPtr |
| Provides for automatic destruction when the owner is deleted. | |
|
typedef std::shared_ptr < TestsForWindow > | TestsForWindowPtr |
| Provides for automatic destruction when the owner is deleted. | |
Enumerations | |
| enum | WidgetType { Action, Button, CheckBox, ComboBox, Dock, List, ListView, Label, LineEdit, SpinBox, Splitter, Table, Tabs, TextEdit, Tree, View, Window, MessageBox, FileDialog, FontDialog, ColorDialog, Script } |
| List the types of widgets that we can interact with during testing. More... | |
| enum | ConDes { Constructor, Destructor } |
| Enumerates the stages at which the actions for a test case can be run. | |
Functions | |
| void | RegnFn (std::function< void(void *, WidgetType, csr)> reg) |
| Register the widgets for use by the GUI Test Harness. More... | |
The namespace for the GUI Test Harness.
List the types of widgets that we can interact with during testing.
| void VICI::gth::RegnFn | ( | std::function< void(void *, WidgetType, csr)> | reg | ) |
Register the widgets for use by the GUI Test Harness.
The function is passed as a parameter so that the application code will be able to link even when the test plug-in has not been loaded.
The parameters for the function pointer are the address of the widget, the type of the widget, and a name that will refer to the widget in the test script.
| reg | The function that should be called for each widget. |
1.8.5