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

Provides a thread for applying test cases to a window. More...

#include <vici/libgth.h>

Inheritance diagram for VICI::gth::TestsForWindow:

Signals

void sendAdaptor (const std::string &tcname, const std::string &widgetName, const std::string &command, const std::vector< std::string > &params)
 A signal containing the adaptor to run in the GUI thread.
 

Public Member Functions

 TestsForWindow (GTHTest *, csr window, bool isMainWindow)
 Constructor.
 
 ~TestsForWindow ()
 Destructor.
 
void addSequence ()
 Increment the sequence number.
 
void addTest (csr testCase)
 Add a test case to the current sequence.
 
void addAction (csr testCase, ConDes, const TestAction &)
 Add an action to a test case.
 
void addScript (csr chunk)
 Add a Lua script.
 
csr name ()
 Get the name of the window.
 
virtual void run ()
 Begin execution of the thread.
 
void pause ()
 Pause the thread.
 
void resume ()
 Resume execution of the thread.
 
bool checkPaused ()
 Test if paused.
 
void jumpThread (csr tcname, csr widgetName, csr command, const std::vector< std::string > &params)
 Run the action in the GUI thread.
 
void jumpNotify ()
 Notification that the action has completed.
 

Detailed Description

Provides a thread for applying test cases to a window.


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