ScriptRunner.ScriptRunner Class Reference

#include <class_script_runner_1_1_script_runner.h>

Inheritance diagram for ScriptRunner.ScriptRunner:
Inheritance graph
[legend]

List of all members.

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"

Member Function Documentation

ScriptRunner.ScriptRunner.__init__ ( )
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


Member Data Documentation


ScriptRunner.ScriptRunner ScriptRunner.ScriptRunner ScriptRunner.ScriptRunner ScriptRunner.ScriptRunner ScriptRunner.ScriptRunner ScriptRunner.ScriptRunner ScriptRunner.ScriptRunner ScriptRunner.ScriptRunner ScriptRunner.ScriptRunner ScriptRunner.ScriptRunner
ScriptRunner.ScriptRunner ScriptRunner.ScriptRunner ScriptRunner.ScriptRunner ScriptRunner.ScriptRunner ScriptRunner.ScriptRunner ScriptRunner.ScriptRunner ScriptRunner.ScriptRunner ScriptRunner.ScriptRunner ScriptRunner.ScriptRunner ScriptRunner.ScriptRunner