#include
<class_script_runner_1_1_script_runner.h>
Public Member Functions |
|
__init__ () | |
setMainWindowSize () | |
setTestWindowSize () | |
findTestFile_ () | |
Returns a fully qualified path to the given
file in the test directory. |
|
collectNodeIds_ () | |
Collect nodes specified by nodesToReturn.
|
|
loadScene_ () | |
Load the scene from file. |
|
importScene_ () | |
Import the scene from file. |
|
importModel_ () | |
Import the model from file. |
|
getTestomaticDirectory_ () | |
Returns a full path to testomatic directory.
|
|
Public Attributes |
|
string | kInitialEnvironmentId = "PhotoStudio\\PhotoStudio.a3e" |
string | kLeafNodes = "Leaf" |
string | kAllNodes = "All" |
string | kTopChildren = "Top" |
ScriptRunner.ScriptRunner.__init__ | ( | ) |
Reimplemented from ScriptRunner.ScriptRunnerBase.
ScriptRunner.ScriptRunner.setMainWindowSize | ( | ) |
ScriptRunner.ScriptRunner.setTestWindowSize | ( | ) |
ScriptRunner.ScriptRunner.findTestFile_ | ( | ) |
Returns a fully qualified path to the given file in the test directory.
The test directory is currently defined to be the Testomatic directory or its subdirectory: Acceptance or its other subdirectory: Original_Models Asserts if the file is already fully qualified, or the file was not found.
ScriptRunner.ScriptRunner.collectNodeIds_ | ( | ) |
Collect nodes specified by nodesToReturn.
There are three valid modes:
kLeafNodes - returns ids of all the leaf nodes in the scene kAllNodes - returns ids of all nodes in the scene kTopChildren - returns ids of the top level children under the root nodes of the scene
ScriptRunner.ScriptRunner.loadScene_ | ( | ) |
Load the scene from file.
Return a tuple of nodeIds specified by nodesToReturn from the loaded scene. There are three valid modes:
None - don't collect nodes and return None, default value kLeafNodes - returns ids of all the leaf nodes in the scene kAllNodes - returns ids of all nodes in the scene kTopChildren - returns ids of the top level children under the root nodes of the scene
Reimplemented from ScriptRunner.ScriptRunnerBase.
ScriptRunner.ScriptRunner.importScene_ | ( | ) |
Import the scene from file.
Return a tuple of nodeIds specified by nodesToReturn from the imported scene. There are three valid modes:
None - don't collect nodes and return None, default value kLeafNodes - returns ids of all the leaf nodes in the scene kAllNodes - returns ids of all nodes in the scene kTopChildren - returns ids of the top level children under the root nodes of the scene
ScriptRunner.ScriptRunner.importModel_ | ( | ) |
Import the model from file.
Return a tuple of nodeIds specified by nodesToReturn from the imported model. There are three valid modes:
None - don't collect nodes and return None, default value kLeafNodes - returns ids of all the leaf nodes in the scene kAllNodes - returns ids of all nodes in the scene kTopChildren - returns ids of the top level children under the root nodes of the scene
ScriptRunner.ScriptRunner.getTestomaticDirectory_ | ( | ) |
Returns a full path to testomatic directory.
If the user has an environment variable set: TESTOMATIC_TESTS
string ScriptRunner.ScriptRunner.kInitialEnvironmentId = "PhotoStudio\\PhotoStudio.a3e" |
Reimplemented from ScriptRunner.ScriptRunnerBase.
string ScriptRunner.ScriptRunner.kLeafNodes = "Leaf" |
string ScriptRunner.ScriptRunner.kAllNodes = "All" |
string ScriptRunner.ScriptRunner.kTopChildren = "Top" |