#include <VariableTests.h>
Inherits ScriptCanvas::Developer::EditorAutomationTest.
|
| VariableLifeCycleTest (AZStd::string name, AZStd::vector< ScriptCanvas::Data::Type > dataTypes, CreateVariableAction::CreationType creationType=CreateVariableAction::CreationType::AutoComplete) |
|
void | OnTestStarting () override |
|
| AZ_CLASS_ALLOCATOR (EditorAutomationTest, AZ::SystemAllocator) |
|
| AZ_RTTI (EditorAutomationTest, "{C46081C5-E7E9-47C7-96D4-29E7D1C4D403}") |
|
void | StartTest () |
|
void | OnSystemTick () |
|
void | AddState (EditorAutomationState *newState) |
|
void | SetHasCustomTransitions (bool hasCustomTransition) |
|
template<typename IdClass > |
void | SetInitialStateId () |
|
virtual void | OnTestStarting () |
|
virtual void | OnStateComplete (int) |
|
virtual void | OnTestComplete () |
|
bool | HasRun () const |
|
bool | IsRunning () const |
|
void | SetTestName (QString testName) |
|
QString | GetTestName () |
|
bool | HasErrors () const |
|
AZStd::vector< AZStd::string > | GetErrors () const |
|
const AZStd::any * | FindStateData (const DataKey &dataId) const |
|
template<typename T > |
const T * | GetStateDataAs (const DataKey &dataId) const |
|
template<typename T > |
void | SetStateData (const DataKey &dataId, const T &data) |
|
|
int | EvaluateTransition (int stateId) override |
|
bool | SetupState (int stateId) |
|
int | FindNextState (int stateId) |
|
virtual int | EvaluateTransition (int) |
|
| EditorAutomationTest (QString testName) |
|
void | AddError (AZStd::string error) |
|
void | ClearModelData () |
|
|
typedef AZStd::string | DataKey |
|
EditorAutomationActionRunner | m_actionRunner |
|
AZStd::vector< AZStd::string > | m_testErrors |
|
bool | m_hasCustomTransitions = false |
|
AZStd::vector< int > | m_registrationOrder |
|
AZStd::unordered_map< int, EditorAutomationState * > | m_states |
|
EditorautomationTest that takes in a set of variable types to create. For each type it will then create the variable, create a get and set node for that variable. Then clean-up the nodes and delete the variable.
◆ EvaluateTransition()
int ScriptCanvas::Developer::VariableLifeCycleTest::EvaluateTransition |
( |
int |
stateId | ) |
|
|
overrideprotectedvirtual |
◆ OnTestStarting()
void ScriptCanvas::Developer::VariableLifeCycleTest::OnTestStarting |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file:
- Gems/ScriptCanvasDeveloper/Code/Editor/Source/EditorAutomationTests/VariableTests.h