![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <InternalTestStep.h>
Data Structures | |
| class | DialogTest |
| dialog arguments (used for certain functions that opens modal dialogs) More... | |
| class | TLSTableTest |
| struct used for test TLS Tables More... | |
Private Member Functions | |
| InternalTestStep ()=delete | |
| invalidate default constructor | |
| InternalTestStep (const InternalTestStep &)=delete | |
| Invalidated copy constructor. | |
| InternalTestStep & | operator= (const InternalTestStep &)=delete |
| Invalidated assignment operator. | |
modify attribute functions | |
| void | modifyStringAttribute (const int tabs, const int overlappedTabs, const std::string &value) const |
| modify attribute | |
| void | modifyBoolAttribute (const int tabs, const int overlappedTabs) const |
| modify bool attribute | |
undo-redo functions | |
| void | buildUndo (const int number) const |
| process check undo function | |
| void | buildRedo (const int number) const |
| process check redo function | |
key functions | |
| std::pair< FXint, FXString > | translateKey (const std::string &key) const |
| translate key | |
| FXEvent * | buildKeyPressEvent (const std::string &key) const |
| build key press event | |
| FXEvent * | buildKeyReleaseEvent (const std::string &key) const |
| build key release event | |
| void | buildPressKeyEvent (const std::string &key, const bool updateView) const |
| build a key press and key release (used for tabs, spaces, enter, etc) | |
| void | buildPressKeyEvent (InternalTestStep *parent, const std::string &key) const |
| build a key press and key release (used for tabs, spaces, enter, etc) | |
| void | buildTwoPressKeyEvent (const std::string &keyA, const std::string &keyB, const bool updateView) const |
| build a two key press and key release (used for tabs, spaces, enter, etc) | |
| void | buildTwoPressKeyEvent (InternalTestStep *parent, const std::string &keyA, const std::string &keyB) const |
| build a two key press and key release (used for tabs, spaces, enter, etc) | |
mouse functions | |
| void | buildMouseClick (const InternalTest::ViewPosition &viewPosition, const int offsetX, const int offsetY, const std::string &button, const std::string &keyModifier) const |
| build mouse click event | |
| void | buildMouseDragDrop (const InternalTest::ViewPosition &viewStartPosition, const int offsetStartX, const int offsetStartY, const InternalTest::ViewPosition &viewEndPosition, const int offsetEndX, const int offsetEndY, const std::string &keyModifier) const |
| build mouse dragdrop | |
| FXEvent * | buildMouseMoveEvent (const InternalTest::ViewPosition &viewPosition, const int offsetX, const int offsetY, const int clickedButton, const std::string &keyModifier, const int numberOfClicks) const |
| build mouse move event | |
| FXEvent * | buildMouseClickEvent (FXSelType type, const InternalTest::ViewPosition &viewPosition, const int offsetX, const int offsetY, const std::string &keyModifier, const int numberOfClicks) const |
| build mouse left click press event | |
| void | writeClickInfo (const InternalTest::ViewPosition &viewPosition, const int offsetX, const int offsetY, const std::string modifier) const |
| write click info | |
category step | |
| enum class | Category { META , INIT , APP , VIEW , TLS_PHASES , TLS_PHASETABLE , COLOR } |
| InternalTest * | myTestSystem = nullptr |
| test system parent | |
| FXSelector | myMessageType = SEL_COMMAND |
| message type (by default SEL_COMMAND) | |
| FXSelector | myMessageID = 0 |
| message ID | |
| Category | myCategory = Category::META |
| step category | |
| bool | myUpdateView = false |
| flag to enable or disable view after execute step | |
| std::string | myDescription |
| description | |
| std::vector< std::string > | myArguments |
| arguments | |
| FXEvent * | myEvent = nullptr |
| list of events associated with this step | |
| DialogTest * | myDialogTest = nullptr |
| dialog test | |
| TLSTableTest * | myTLSTableTest = nullptr |
| TLS Table test. | |
| std::vector< const InternalTestStep * > | myDialogTestSteps |
| Test steps used in dialog test. | |
| InternalTestStep (InternalTest *testSystem, const std::string &step) | |
| constructor for parsing step in string format | |
| InternalTestStep (InternalTest *testSystem, FXSelector messageType, FXSelector messageID, Category category, const std::string description) | |
| constructor for shortcuts | |
| InternalTestStep (InternalTest *testSystem, FXSelector messageType, Category category, FXEvent *event, const bool updateView, const std::string description) | |
| constructor for input events (click, keyPress, etc.) | |
| InternalTestStep (InternalTestStep *parent, const std::string &solution, const std::string description) | |
| constructor for fix dialogs | |
| InternalTestStep (InternalTestStep *parent, FXSelector messageType, FXEvent *event, const std::string description) | |
| constructor for key steps (only used for dialog steps) | |
| ~InternalTestStep () | |
| destructor | |
| FXSelector | getMessageType () const |
| get message type | |
| FXSelector | getMessageID () const |
| get message ID | |
| DialogTest * | getDialogTest () const |
| get dialog arguments | |
| TLSTableTest * | getTLSTableTest () const |
| get TLS Table test | |
| FXSelector | getSelector () const |
| get selector (based in messageType and messageID) | |
| bool | updateView () const |
| check if update view | |
| Category | getCategory () const |
| get category | |
| void * | getEvent () const |
| get event associated with this step | |
| const std::vector< const InternalTestStep * > & | getModalDialogTestSteps () const |
| get key events used in certain dialogs (allowDialog, etc.) | |
| const std::string & | getDescription () const |
| get description | |
| std::string | parseStep (const std::string &rowText) |
| parse function and arguments | |
| void | parseArguments (const std::string &arguments) |
| parse arguments | |
| void | setupAndStart () |
| process setupAndStart function | |
| void | mouseClick (const std::string &button, const std::string &modifier) const |
| process click function | |
| void | leftClickOffset (const std::string &button) const |
| process click function | |
| void | moveElementHorizontal () const |
| process moveElementHorizontal function | |
| void | moveElementVertical () const |
| process moveElementVertical function | |
| void | moveElement () const |
| process moveElement function | |
| void | typeKey () const |
| process typeKey function | |
| void | contextualMenuOperation () const |
| process contextualMenuOperation function | |
| void | protectElements () const |
| process protect elements function | |
| void | waitDeleteWarning () const |
| process waitDeleteWarning function | |
| void | modifyAttribute (const int overlappedTabs) const |
| process modifyAttribute function | |
| void | modifyBoolAttribute (const int overlappedTabs) const |
| process modifyBoolAttribute function | |
| void | modifyColorAttribute (const int overlappedTabs) const |
| process modifyColorAttribute function | |
| void | modifyVClassDialog_NoDisallowAll (const int overlappedTabs) const |
| process modifyVClassDialog_DisallowAll function | |
| void | modifyVClassDialog_DisallowAll (const int overlappedTabs) const |
| process modifyVClassDialog_DisallowAll function | |
| void | modifyVClassDialog_Cancel (const int overlappedTabs) const |
| process modifyVClassDialog_Cancel function | |
| void | modifyVClassDialog_Reset (const int overlappedTabs) const |
| process modifyVClassDialog_Reset function | |
| void | modifyVTypeDialogAttribute () const |
| process modifyVTypeDialogAttribute function | |
| void | createConnection (const std::string &keyModifier) const |
| process createConnection function | |
| void | createCrossing () const |
| process createCrossing function | |
| void | modifyCrossingDefaultValue () const |
| process modifyCrossingDefaultValue function | |
| void | modifyCrossingDefaultBoolValue () const |
| process modifyCrossingDefaultBoolValue function | |
| void | crossingClearEdges () const |
| process crossingClearEdges function | |
| void | crossingInvertEdges () const |
| process crossingInvertEdges function | |
| void | saveConnectionEdit () const |
| process createConnectionEdit function | |
| void | fixCrossings () |
| process fixCrossings function | |
| void | fixStoppingPlace () |
| process fixStoppingPlace function | |
| void | fixRoute () |
| process fixRoutes function | |
| void | createTLS (const int overlappedTabs) const |
| process createTLS function | |
| void | copyTLS () const |
| process Copy TLS function | |
| void | joinTSL () const |
| process join TLS function | |
| void | disJoinTLS () const |
| process disJoin TLS function | |
| void | deleteTLS () const |
| process delete TLS function | |
| void | modifyTLSTable () |
| process modifyTLSTable function | |
| void | resetSingleTLSPhases () const |
| process resetSingleTLSPhases function | |
| void | resetAllTLSPhases () const |
| process resetAllTLSPhases function | |
| void | pressTLSPhaseButton () const |
| process pressTLSPhaseButton function | |
| void | addPhase (const std::string &type) |
| process addPhase function | |
| void | pressTLSButton (const std::string &type) |
| process pressTLSButton function | |
| void | checkParameters (const int overlappedTabs) const |
| process checkParameters function | |
| void | checkDoubleParameters (const int overlappedTabs) const |
| process checkDoubleParameters function | |
| void | changeEditMode () |
| process changeEditMode function | |
| void | saveExistentShortcut () |
| process save function | |
| void | checkUndoRedo () const |
| process check undo-redo function | |
| void | deleteFunction () const |
| process delete function | |
| void | selection () const |
| process selection function | |
| void | selectNetworkItems () const |
| process selectNetworkItems function | |
| void | lockSelection () const |
| process lockSelection function | |
| void | selectionRectangle () const |
| process selectionRectangle function | |
| void | createDataSet () const |
| process createDataSet function | |
| void | createDataInterval () const |
| process createDataInterval function | |
| void | undo () const |
| process check undo function | |
| void | redo () const |
| process check redo function | |
| void | changeSupermode () |
| process supermode function | |
| void | changeMode () |
| process change mode function | |
| void | changeElement () const |
| process change element function | |
| void | changePlan () const |
| @bief process change plan function | |
| void | computeJunctions () |
| process compute junctions function | |
| void | computeJunctionsVolatileOptions () |
| process compute junctions with volatile options function | |
| void | selectAdditionalChild () |
| create rectangle shape | |
| void | createRectangledShape () |
| process create rectangle shape function | |
| void | createSquaredShape () |
| process create squared shape function | |
| void | createLineShape () |
| process create line shape function | |
| void | createMeanData () |
| process createMeanData function | |
| void | deleteMeanData () |
| process deleteMeanData function | |
| void | copyMeanData () |
| process copyMeanData function | |
| void | quit () |
| process quit function | |
| bool | checkIntArgument (const std::string &argument) const |
| check int argument | |
| int | getIntArgument (const std::string &argument) const |
| get int argument | |
| bool | checkBoolArgument (const std::string &argument) const |
| check bool argument | |
| bool | getBoolArgument (const std::string &argument) const |
| get bool argument | |
| bool | checkStringArgument (const std::string &argument) const |
| check string argument | |
| std::string | getStringArgument (const std::string &argument) const |
| get string argument | |
| std::string | stripSpaces (const std::string &str) const |
| strip spaces | |
| void | writeError (const std::string &function, const int overlapping, const std::string &expected) const |
| write error | |
| void | createShape (const InternalTest::ViewPosition &viewPosition, const int sizeX, const int sizeY, const bool close, const bool line) const |
| create shape | |
Definition at line 32 of file InternalTestStep.h.
|
strong |
| Enumerator | |
|---|---|
| META | |
| INIT | |
| APP | |
| VIEW | |
| TLS_PHASES | |
| TLS_PHASETABLE | |
| COLOR | |
Definition at line 36 of file InternalTestStep.h.
| InternalTestStep::InternalTestStep | ( | InternalTest * | testSystem, |
| const std::string & | step | ||
| ) |
constructor for parsing step in string format
Definition at line 83 of file InternalTestStep.cpp.
References addPhase(), InternalTest::addTestSteps(), changeEditMode(), changeElement(), changeMode(), changePlan(), changeSupermode(), checkDoubleParameters(), checkParameters(), checkUndoRedo(), computeJunctions(), computeJunctionsVolatileOptions(), contextualMenuOperation(), copyMeanData(), copyTLS(), createConnection(), createCrossing(), createDataInterval(), createDataSet(), createLineShape(), createMeanData(), createRectangledShape(), createSquaredShape(), createTLS(), crossingClearEdges(), crossingInvertEdges(), deleteFunction(), deleteMeanData(), deleteTLS(), disJoinTLS(), fixCrossings(), fixRoute(), fixStoppingPlace(), InternalTest::getAttributesEnum(), joinTSL(), leftClickOffset(), lockSelection(), modifyAttribute(), modifyBoolAttribute(), modifyColorAttribute(), modifyCrossingDefaultBoolValue(), modifyCrossingDefaultValue(), modifyTLSTable(), modifyVClassDialog_Cancel(), modifyVClassDialog_DisallowAll(), modifyVClassDialog_NoDisallowAll(), modifyVClassDialog_Reset(), modifyVTypeDialogAttribute(), mouseClick(), moveElement(), moveElementHorizontal(), moveElementVertical(), myDescription, myTestSystem, parseStep(), pressTLSButton(), pressTLSPhaseButton(), protectElements(), quit(), redo(), resetAllTLSPhases(), resetSingleTLSPhases(), saveConnectionEdit(), saveExistentShortcut(), selectAdditionalChild(), selection(), selectionRectangle(), selectNetworkItems(), setupAndStart(), typeKey(), undo(), and waitDeleteWarning().
| InternalTestStep::InternalTestStep | ( | InternalTest * | testSystem, |
| FXSelector | messageType, | ||
| FXSelector | messageID, | ||
| Category | category, | ||
| const std::string | description | ||
| ) |
constructor for shortcuts
Definition at line 291 of file InternalTestStep.cpp.
References InternalTest::addTestSteps().
| InternalTestStep::InternalTestStep | ( | InternalTest * | testSystem, |
| FXSelector | messageType, | ||
| Category | category, | ||
| FXEvent * | event, | ||
| const bool | updateView, | ||
| const std::string | description | ||
| ) |
constructor for input events (click, keyPress, etc.)
Definition at line 303 of file InternalTestStep.cpp.
References InternalTest::addTestSteps().
| InternalTestStep::InternalTestStep | ( | InternalTestStep * | parent, |
| const std::string & | solution, | ||
| const std::string | description | ||
| ) |
constructor for fix dialogs
Definition at line 317 of file InternalTestStep.cpp.
References myDialogTest, and myDialogTestSteps.
| InternalTestStep::InternalTestStep | ( | InternalTestStep * | parent, |
| FXSelector | messageType, | ||
| FXEvent * | event, | ||
| const std::string | description | ||
| ) |
constructor for key steps (only used for dialog steps)
Definition at line 329 of file InternalTestStep.cpp.
References myDialogTestSteps.
| InternalTestStep::~InternalTestStep | ( | ) |
destructor
Definition at line 340 of file InternalTestStep.cpp.
References myDialogTest, myDialogTestSteps, myEvent, and myTLSTableTest.
|
privatedelete |
invalidate default constructor
Referenced by buildMouseClick(), buildMouseDragDrop(), buildPressKeyEvent(), buildPressKeyEvent(), buildRedo(), buildTwoPressKeyEvent(), buildTwoPressKeyEvent(), buildUndo(), changeElement(), changePlan(), createDataInterval(), createDataSet(), createShape(), deleteFunction(), fixCrossings(), fixRoute(), fixStoppingPlace(), lockSelection(), modifyBoolAttribute(), modifyStringAttribute(), protectElements(), selectAdditionalChild(), selection(), selectionRectangle(), and selectNetworkItems().
|
privatedelete |
Invalidated copy constructor.
|
private |
process addPhase function
Definition at line 1159 of file InternalTestStep.cpp.
References checkIntArgument(), getIntArgument(), MID_GNE_TLSTABLE_ADDPHASE, MID_GNE_TLSTABLE_ADDPHASEALLGREEN, MID_GNE_TLSTABLE_ADDPHASEALLGREENPRIORITY, MID_GNE_TLSTABLE_ADDPHASEALLRED, MID_GNE_TLSTABLE_ADDPHASEALLYELLOW, MID_GNE_TLSTABLE_COPYPHASE, MID_GNE_TLSTABLE_MOVEDOWNPHASE, MID_GNE_TLSTABLE_MOVEUPPHASE, MID_GNE_TLSTABLE_REMOVEPHASE, myArguments, myCategory, myTLSTableTest, TLS_PHASETABLE, and writeError().
Referenced by InternalTestStep().
|
private |
build key press event
Definition at line 2282 of file InternalTestStep.cpp.
References InternalTest::getTime(), myTestSystem, and translateKey().
Referenced by buildPressKeyEvent(), buildPressKeyEvent(), buildTwoPressKeyEvent(), and buildTwoPressKeyEvent().
|
private |
build key release event
Definition at line 2296 of file InternalTestStep.cpp.
References InternalTest::getTime(), myTestSystem, and translateKey().
Referenced by buildPressKeyEvent(), and buildPressKeyEvent().
|
private |
build mouse click event
Definition at line 2367 of file InternalTestStep.cpp.
References buildMouseClickEvent(), buildMouseMoveEvent(), InternalTestStep(), myTestSystem, and VIEW.
Referenced by buildRedo(), buildUndo(), contextualMenuOperation(), createConnection(), createShape(), leftClickOffset(), mouseClick(), moveElement(), moveElementHorizontal(), and moveElementVertical().
|
private |
build mouse left click press event
Definition at line 2466 of file InternalTestStep.cpp.
References InternalTest::getLastMovedPosition(), InternalTest::getTime(), InternalTest::ViewPosition::getX(), InternalTest::ViewPosition::getY(), MOUSE_OFFSET_X, MOUSE_OFFSET_Y, and myTestSystem.
Referenced by buildMouseClick(), and buildMouseDragDrop().
|
private |
build mouse dragdrop
Definition at line 2401 of file InternalTestStep.cpp.
References buildMouseClickEvent(), buildMouseMoveEvent(), InternalTestStep(), InternalTest::interpolateViewPositions(), myTestSystem, and VIEW.
Referenced by moveElement(), moveElementHorizontal(), moveElementVertical(), and selectionRectangle().
|
private |
build mouse move event
Definition at line 2430 of file InternalTestStep.cpp.
References InternalTest::getLastMovedPosition(), InternalTest::getTime(), InternalTest::ViewPosition::getX(), InternalTest::ViewPosition::getY(), MOUSE_OFFSET_X, MOUSE_OFFSET_Y, myTestSystem, and InternalTest::updateLastMovedPosition().
Referenced by buildMouseClick(), and buildMouseDragDrop().
|
private |
build a key press and key release (used for tabs, spaces, enter, etc)
Definition at line 2311 of file InternalTestStep.cpp.
References APP, buildKeyPressEvent(), buildKeyReleaseEvent(), InternalTestStep(), myTestSystem, and updateView().
Referenced by changeElement(), changePlan(), contextualMenuOperation(), createDataInterval(), createDataSet(), createShape(), modifyBoolAttribute(), modifyColorAttribute(), modifyStringAttribute(), modifyVClassDialog_Cancel(), modifyVClassDialog_DisallowAll(), modifyVClassDialog_NoDisallowAll(), modifyVClassDialog_Reset(), modifyVTypeDialogAttribute(), protectElements(), selectAdditionalChild(), selection(), selectNetworkItems(), and typeKey().
|
private |
build a key press and key release (used for tabs, spaces, enter, etc)
Definition at line 2318 of file InternalTestStep.cpp.
References buildKeyPressEvent(), buildKeyReleaseEvent(), and InternalTestStep().
|
private |
process check redo function
Definition at line 2169 of file InternalTestStep.cpp.
References APP, buildMouseClick(), InternalTest::getViewPositions(), InternalTestStep(), MID_HOTKEY_CTRL_Y_REDO, MID_HOTKEY_I_MODE_INSPECT, MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, MOUSE_REFERENCE_X, MOUSE_REFERENCE_Y, myTestSystem, and toString().
Referenced by checkDoubleParameters(), checkParameters(), checkUndoRedo(), and redo().
|
private |
build a two key press and key release (used for tabs, spaces, enter, etc)
Definition at line 2325 of file InternalTestStep.cpp.
References APP, buildKeyPressEvent(), InternalTestStep(), myTestSystem, and updateView().
Referenced by modifyColorAttribute(), modifyVClassDialog_Reset(), and modifyVTypeDialogAttribute().
|
private |
build a two key press and key release (used for tabs, spaces, enter, etc)
Definition at line 2346 of file InternalTestStep.cpp.
References buildKeyPressEvent(), and InternalTestStep().
|
private |
process check undo function
Definition at line 2148 of file InternalTestStep.cpp.
References APP, buildMouseClick(), InternalTest::getViewPositions(), InternalTestStep(), MID_HOTKEY_CTRL_Z_UNDO, MID_HOTKEY_I_MODE_INSPECT, MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, MOUSE_REFERENCE_X, MOUSE_REFERENCE_Y, myTestSystem, and toString().
Referenced by checkDoubleParameters(), checkParameters(), checkUndoRedo(), and undo().
|
private |
process changeEditMode function
Definition at line 1259 of file InternalTestStep.cpp.
References APP, InternalTest::getAttributesEnum(), MID_GNE_DATAVIEWOPTIONS_SHOWADDITIONALS, MID_GNE_DATAVIEWOPTIONS_SHOWDEMANDELEMENTS, MID_GNE_DATAVIEWOPTIONS_SHOWSHAPES, MID_GNE_DATAVIEWOPTIONS_TAZDRAWFILL, MID_GNE_DATAVIEWOPTIONS_TAZRELDRAWING, MID_GNE_DATAVIEWOPTIONS_TAZRELONLYFROM, MID_GNE_DATAVIEWOPTIONS_TAZRELONLYTO, MID_GNE_DATAVIEWOPTIONS_TOGGLEDRAWJUNCTIONSHAPE, MID_GNE_DEMANDVIEWOPTIONS_DRAWSPREADVEHICLES, MID_GNE_DEMANDVIEWOPTIONS_HIDENONINSPECTED, MID_GNE_DEMANDVIEWOPTIONS_HIDESHAPES, MID_GNE_DEMANDVIEWOPTIONS_LOCKCONTAINER, MID_GNE_DEMANDVIEWOPTIONS_LOCKPERSON, MID_GNE_DEMANDVIEWOPTIONS_SHOWALLCONTAINERPLANS, MID_GNE_DEMANDVIEWOPTIONS_SHOWALLPERSONPLANS, MID_GNE_DEMANDVIEWOPTIONS_SHOWGRID, MID_GNE_DEMANDVIEWOPTIONS_SHOWOVERLAPPEDROUTES, MID_GNE_DEMANDVIEWOPTIONS_SHOWTRIPS, MID_GNE_DEMANDVIEWOPTIONS_TOGGLEDRAWJUNCTIONSHAPE, MID_GNE_NETWORKVIEWOPTIONS_AUTOOPPOSITEEDGES, MID_GNE_NETWORKVIEWOPTIONS_CHAINEDGES, MID_GNE_NETWORKVIEWOPTIONS_CHANGEALLPHASES, MID_GNE_NETWORKVIEWOPTIONS_DRAWSPREADVEHICLES, MID_GNE_NETWORKVIEWOPTIONS_EXTENDSELECTION, MID_GNE_NETWORKVIEWOPTIONS_HIDECONNECTIONS, MID_GNE_NETWORKVIEWOPTIONS_MERGEAUTOMATICALLY, MID_GNE_NETWORKVIEWOPTIONS_MOVEELEVATION, MID_GNE_NETWORKVIEWOPTIONS_SELECTEDGES, MID_GNE_NETWORKVIEWOPTIONS_SHOWBUBBLES, MID_GNE_NETWORKVIEWOPTIONS_SHOWCONNECTIONS, MID_GNE_NETWORKVIEWOPTIONS_SHOWDEMANDELEMENTS, MID_GNE_NETWORKVIEWOPTIONS_SHOWSUBADDITIONALS, MID_GNE_NETWORKVIEWOPTIONS_SHOWTAZELEMENTS, MID_GNE_NETWORKVIEWOPTIONS_TOGGLEDRAWJUNCTIONSHAPE, MID_GNE_NETWORKVIEWOPTIONS_TOGGLEGRID, myArguments, myCategory, myMessageID, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process change element function
Definition at line 1731 of file InternalTestStep.cpp.
References APP, buildPressKeyEvent(), checkStringArgument(), InternalTest::getAttributesEnum(), getStringArgument(), InternalTestStep(), MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, myArguments, myTestSystem, WRITE_ERRORF, and writeError().
Referenced by InternalTestStep().
|
private |
process change mode function
Definition at line 1676 of file InternalTestStep.cpp.
References APP, checkStringArgument(), getStringArgument(), MID_HOTKEY_A_MODE_STARTSIMULATION_ADDITIONALS_STOPS, MID_HOTKEY_C_MODE_CONNECT_CONTAINER, MID_HOTKEY_D_MODE_SINGLESIMULATIONSTEP_DELETE, MID_HOTKEY_E_MODE_EDGE_EDGEDATA, MID_HOTKEY_H_MODE_PROHIBITION_CONTAINERPLAN, MID_HOTKEY_I_MODE_INSPECT, MID_HOTKEY_L_MODE_PERSONPLAN, MID_HOTKEY_M_MODE_MOVE_MEANDATA, MID_HOTKEY_P_MODE_POLYGON_PERSON, MID_HOTKEY_R_MODE_CROSSING_ROUTE_EDGERELDATA, MID_HOTKEY_S_MODE_STOPSIMULATION_SELECT, MID_HOTKEY_T_MODE_TLS_TYPE, MID_HOTKEY_U_MODE_DECAL_TYPEDISTRIBUTION, MID_HOTKEY_V_MODE_VEHICLE, MID_HOTKEY_W_MODE_WIRE_ROUTEDISTRIBUTION, MID_HOTKEY_Z_MODE_TAZ_TAZREL, myArguments, myCategory, myDescription, myMessageID, myUpdateView, and writeError().
Referenced by InternalTestStep().
|
private |
@bief process change plan function
Definition at line 1784 of file InternalTestStep.cpp.
References APP, buildPressKeyEvent(), checkBoolArgument(), checkStringArgument(), InternalTest::getAttributesEnum(), getBoolArgument(), getStringArgument(), InternalTestStep(), MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, myArguments, myTestSystem, WRITE_ERRORF, and writeError().
Referenced by InternalTestStep().
|
private |
process supermode function
Definition at line 1655 of file InternalTestStep.cpp.
References APP, checkStringArgument(), getStringArgument(), MID_HOTKEY_F2_SUPERMODE_NETWORK, MID_HOTKEY_F3_SUPERMODE_DEMAND, MID_HOTKEY_F4_SUPERMODE_DATA, myArguments, myCategory, myMessageID, and writeError().
Referenced by InternalTestStep().
|
private |
check bool argument
Definition at line 2002 of file InternalTestStep.cpp.
Referenced by changePlan(), copyTLS(), createCrossing(), createLineShape(), createRectangledShape(), createSquaredShape(), deleteTLS(), resetAllTLSPhases(), and resetSingleTLSPhases().
|
private |
process checkDoubleParameters function
Definition at line 1235 of file InternalTestStep.cpp.
References buildRedo(), buildUndo(), checkIntArgument(), getIntArgument(), modifyStringAttribute(), myArguments, and writeError().
Referenced by InternalTestStep().
|
private |
check int argument
Definition at line 1980 of file InternalTestStep.cpp.
References InternalTest::getAttributesEnum(), StringUtils::isInt(), and myTestSystem.
Referenced by addPhase(), checkDoubleParameters(), checkParameters(), createLineShape(), createRectangledShape(), createSquaredShape(), leftClickOffset(), lockSelection(), modifyAttribute(), modifyBoolAttribute(), modifyColorAttribute(), modifyCrossingDefaultBoolValue(), modifyCrossingDefaultValue(), modifyTLSTable(), modifyVClassDialog_Cancel(), modifyVClassDialog_DisallowAll(), modifyVClassDialog_NoDisallowAll(), modifyVClassDialog_Reset(), modifyVTypeDialogAttribute(), pressTLSPhaseButton(), redo(), selectAdditionalChild(), and undo().
|
private |
process checkParameters function
Definition at line 1211 of file InternalTestStep.cpp.
References buildRedo(), buildUndo(), checkIntArgument(), getIntArgument(), modifyStringAttribute(), myArguments, and writeError().
Referenced by InternalTestStep().
|
private |
check string argument
Definition at line 2024 of file InternalTestStep.cpp.
Referenced by changeElement(), changeMode(), changePlan(), changeSupermode(), createDataInterval(), createDataSet(), fixCrossings(), fixRoute(), fixStoppingPlace(), modifyAttribute(), modifyCrossingDefaultValue(), modifyTLSTable(), modifyVTypeDialogAttribute(), saveExistentShortcut(), selection(), and selectNetworkItems().
|
private |
process check undo-redo function
Definition at line 1374 of file InternalTestStep.cpp.
References buildRedo(), buildUndo(), myArguments, and writeError().
Referenced by InternalTestStep().
|
private |
process compute junctions function
Definition at line 1826 of file InternalTestStep.cpp.
References APP, MID_HOTKEY_F5_COMPUTE_NETWORK_DEMAND, myArguments, myCategory, myMessageID, and writeError().
Referenced by InternalTestStep().
|
private |
process compute junctions with volatile options function
Definition at line 1837 of file InternalTestStep.cpp.
References APP, MID_HOTKEY_SHIFT_F5_COMPUTEJUNCTIONS_VOLATILE, myArguments, myCategory, myDialogTest, myMessageID, InternalTestStep::DialogTest::no, writeError(), and InternalTestStep::DialogTest::yes.
Referenced by InternalTestStep().
|
private |
process contextualMenuOperation function
Definition at line 621 of file InternalTestStep.cpp.
References buildMouseClick(), buildPressKeyEvent(), InternalTest::getContextualMenuOperations(), InternalTest::getViewPositions(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process copyMeanData function
Definition at line 1957 of file InternalTestStep.cpp.
References modifyBoolAttribute(), myArguments, and writeError().
Referenced by InternalTestStep().
|
private |
process Copy TLS function
Definition at line 1054 of file InternalTestStep.cpp.
References checkBoolArgument(), InternalTest::getAttributesEnum(), getBoolArgument(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process createConnection function
Definition at line 915 of file InternalTestStep.cpp.
References buildMouseClick(), InternalTest::getViewPositions(), myArguments, myTestSystem, writeClickInfo(), and writeError().
Referenced by InternalTestStep().
|
private |
process createCrossing function
Definition at line 935 of file InternalTestStep.cpp.
References checkBoolArgument(), InternalTest::getAttributesEnum(), getBoolArgument(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process createDataInterval function
Definition at line 1594 of file InternalTestStep.cpp.
References APP, buildPressKeyEvent(), checkStringArgument(), getStringArgument(), InternalTestStep(), MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process createDataSet function
Definition at line 1565 of file InternalTestStep.cpp.
References APP, buildPressKeyEvent(), checkStringArgument(), getStringArgument(), InternalTestStep(), MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process create line shape function
Definition at line 1918 of file InternalTestStep.cpp.
References checkBoolArgument(), checkIntArgument(), createShape(), getBoolArgument(), getIntArgument(), InternalTest::getViewPositions(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process createMeanData function
Definition at line 1937 of file InternalTestStep.cpp.
References modifyBoolAttribute(), myArguments, and writeError().
Referenced by InternalTestStep().
|
private |
process create rectangle shape function
Definition at line 1881 of file InternalTestStep.cpp.
References checkBoolArgument(), checkIntArgument(), createShape(), getBoolArgument(), getIntArgument(), InternalTest::getViewPositions(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
create shape
Definition at line 2075 of file InternalTestStep.cpp.
References APP, buildMouseClick(), buildPressKeyEvent(), InternalTestStep(), MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, myTestSystem, and writeClickInfo().
Referenced by createLineShape(), createRectangledShape(), and createSquaredShape().
|
private |
process create squared shape function
Definition at line 1900 of file InternalTestStep.cpp.
References checkBoolArgument(), checkIntArgument(), createShape(), getBoolArgument(), getIntArgument(), InternalTest::getViewPositions(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process createTLS function
Definition at line 1044 of file InternalTestStep.cpp.
References InternalTest::getAttributesEnum(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process crossingClearEdges function
Definition at line 972 of file InternalTestStep.cpp.
References InternalTest::getAttributesEnum(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process crossingInvertEdges function
Definition at line 982 of file InternalTestStep.cpp.
References InternalTest::getAttributesEnum(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process delete function
Definition at line 1386 of file InternalTestStep.cpp.
References APP, InternalTestStep(), MID_HOTKEY_DEL, myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process deleteMeanData function
Definition at line 1947 of file InternalTestStep.cpp.
References modifyBoolAttribute(), myArguments, and writeError().
Referenced by InternalTestStep().
|
private |
process delete TLS function
Definition at line 1088 of file InternalTestStep.cpp.
References checkBoolArgument(), InternalTest::getAttributesEnum(), getBoolArgument(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process disJoin TLS function
Definition at line 1078 of file InternalTestStep.cpp.
References InternalTest::getAttributesEnum(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process fixCrossings function
Definition at line 1002 of file InternalTestStep.cpp.
References APP, checkStringArgument(), getStringArgument(), InternalTestStep(), MID_HOTKEY_CTRL_SHIFT_E_SAVENETEDITCONFIG, myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process fixRoutes function
Definition at line 1030 of file InternalTestStep.cpp.
References APP, checkStringArgument(), getStringArgument(), InternalTestStep(), MID_HOTKEY_CTRL_SHIFT_E_SAVENETEDITCONFIG, myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process fixStoppingPlace function
Definition at line 1016 of file InternalTestStep.cpp.
References APP, checkStringArgument(), getStringArgument(), InternalTestStep(), MID_HOTKEY_CTRL_SHIFT_E_SAVENETEDITCONFIG, myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
get bool argument
Definition at line 2014 of file InternalTestStep.cpp.
Referenced by changePlan(), copyTLS(), createCrossing(), createLineShape(), createRectangledShape(), createSquaredShape(), deleteTLS(), resetAllTLSPhases(), and resetSingleTLSPhases().
| InternalTestStep::Category InternalTestStep::getCategory | ( | ) | const |
| const std::string & InternalTestStep::getDescription | ( | ) | const |
| InternalTestStep::DialogTest * InternalTestStep::getDialogTest | ( | ) | const |
| void * InternalTestStep::getEvent | ( | ) | const |
get event associated with this step
Definition at line 401 of file InternalTestStep.cpp.
References myEvent.
|
private |
get int argument
Definition at line 1992 of file InternalTestStep.cpp.
References InternalTest::getAttributesEnum(), StringUtils::isInt(), myTestSystem, and StringUtils::toInt().
Referenced by addPhase(), checkDoubleParameters(), checkParameters(), createLineShape(), createRectangledShape(), createSquaredShape(), leftClickOffset(), lockSelection(), modifyAttribute(), modifyBoolAttribute(), modifyColorAttribute(), modifyCrossingDefaultBoolValue(), modifyCrossingDefaultValue(), modifyTLSTable(), modifyVClassDialog_Cancel(), modifyVClassDialog_DisallowAll(), modifyVClassDialog_NoDisallowAll(), modifyVClassDialog_Reset(), modifyVTypeDialogAttribute(), pressTLSPhaseButton(), redo(), selectAdditionalChild(), and undo().
| FXSelector InternalTestStep::getMessageID | ( | ) | const |
| FXSelector InternalTestStep::getMessageType | ( | ) | const |
| const std::vector< const InternalTestStep * > & InternalTestStep::getModalDialogTestSteps | ( | ) | const |
get key events used in certain dialogs (allowDialog, etc.)
Definition at line 407 of file InternalTestStep.cpp.
References myDialogTestSteps.
Referenced by MFXDialogBox::openModalDialog().
| FXSelector InternalTestStep::getSelector | ( | ) | const |
get selector (based in messageType and messageID)
Definition at line 383 of file InternalTestStep.cpp.
References myMessageID, and myMessageType.
|
private |
get string argument
Definition at line 2036 of file InternalTestStep.cpp.
Referenced by changeElement(), changeMode(), changePlan(), changeSupermode(), createDataInterval(), createDataSet(), fixCrossings(), fixRoute(), fixStoppingPlace(), modifyAttribute(), modifyCrossingDefaultValue(), modifyTLSTable(), modifyVTypeDialogAttribute(), saveExistentShortcut(), selection(), selectNetworkItems(), and typeKey().
| InternalTestStep::TLSTableTest * InternalTestStep::getTLSTableTest | ( | ) | const |
|
private |
process join TLS function
Definition at line 1068 of file InternalTestStep.cpp.
References InternalTest::getAttributesEnum(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process click function
Definition at line 529 of file InternalTestStep.cpp.
References buildMouseClick(), checkIntArgument(), getIntArgument(), InternalTest::getViewPositions(), myArguments, myTestSystem, writeClickInfo(), and writeError().
Referenced by InternalTestStep().
|
private |
process lockSelection function
Definition at line 1503 of file InternalTestStep.cpp.
References APP, checkIntArgument(), InternalTest::getAttributesEnum(), getIntArgument(), InternalTestStep(), MID_GNE_LOCK_ADDITIONALELEMENT, MID_GNE_LOCK_ALLELEMENTS, MID_GNE_LOCK_CONNECTION, MID_GNE_LOCK_CROSSING, MID_GNE_LOCK_EDGE, MID_GNE_LOCK_JPS_OBSTACLE, MID_GNE_LOCK_JPS_WALKABLEAREA, MID_GNE_LOCK_JUNCTION, MID_GNE_LOCK_LANE, MID_GNE_LOCK_POI, MID_GNE_LOCK_POLYGON, MID_GNE_LOCK_SELECTEDELEMENTS, MID_GNE_LOCK_TAZ, MID_GNE_LOCK_WALKINGAREA, MID_GNE_LOCK_WIRE, MID_GNE_UNLOCK_ALLELEMENTS, myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process modifyAttribute function
Definition at line 687 of file InternalTestStep.cpp.
References checkIntArgument(), checkStringArgument(), getIntArgument(), getStringArgument(), modifyStringAttribute(), myArguments, and writeError().
Referenced by InternalTestStep().
|
private |
process modifyBoolAttribute function
Definition at line 699 of file InternalTestStep.cpp.
References checkIntArgument(), getIntArgument(), modifyBoolAttribute(), myArguments, and writeError().
Referenced by copyMeanData(), copyTLS(), createCrossing(), createMeanData(), createTLS(), crossingClearEdges(), crossingInvertEdges(), deleteMeanData(), deleteTLS(), disJoinTLS(), InternalTestStep(), joinTSL(), modifyBoolAttribute(), modifyColorAttribute(), modifyCrossingDefaultBoolValue(), modifyVClassDialog_Cancel(), modifyVClassDialog_DisallowAll(), modifyVClassDialog_NoDisallowAll(), modifyVClassDialog_Reset(), modifyVTypeDialogAttribute(), pressTLSPhaseButton(), resetAllTLSPhases(), resetSingleTLSPhases(), and saveConnectionEdit().
|
private |
modify bool attribute
Definition at line 2135 of file InternalTestStep.cpp.
References APP, buildPressKeyEvent(), InternalTestStep(), MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, and myTestSystem.
|
private |
process modifyColorAttribute function
Definition at line 710 of file InternalTestStep.cpp.
References buildPressKeyEvent(), buildTwoPressKeyEvent(), checkIntArgument(), getIntArgument(), InternalTest::getLastTestStep(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process modifyCrossingDefaultBoolValue function
Definition at line 961 of file InternalTestStep.cpp.
References checkIntArgument(), InternalTest::getAttributesEnum(), getIntArgument(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process modifyCrossingDefaultValue function
Definition at line 949 of file InternalTestStep.cpp.
References checkIntArgument(), checkStringArgument(), InternalTest::getAttributesEnum(), getIntArgument(), getStringArgument(), modifyStringAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
modify attribute
Definition at line 2112 of file InternalTestStep.cpp.
References APP, buildPressKeyEvent(), InternalTestStep(), MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, and myTestSystem.
Referenced by checkDoubleParameters(), checkParameters(), modifyAttribute(), and modifyCrossingDefaultValue().
|
private |
process modifyTLSTable function
Definition at line 1102 of file InternalTestStep.cpp.
References checkIntArgument(), checkStringArgument(), getIntArgument(), getStringArgument(), MID_GNE_TLSTABLE_TEXTFIELD, myArguments, myCategory, myTLSTableTest, TLS_PHASETABLE, and writeError().
Referenced by InternalTestStep().
|
private |
process modifyVClassDialog_Cancel function
Definition at line 797 of file InternalTestStep.cpp.
References buildPressKeyEvent(), checkIntArgument(), InternalTest::getAttributesEnum(), getIntArgument(), InternalTest::getLastTestStep(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process modifyVClassDialog_DisallowAll function
Definition at line 763 of file InternalTestStep.cpp.
References buildPressKeyEvent(), checkIntArgument(), InternalTest::getAttributesEnum(), getIntArgument(), InternalTest::getLastTestStep(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process modifyVClassDialog_DisallowAll function
Definition at line 735 of file InternalTestStep.cpp.
References buildPressKeyEvent(), checkIntArgument(), InternalTest::getAttributesEnum(), getIntArgument(), InternalTest::getLastTestStep(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process modifyVClassDialog_Reset function
Definition at line 832 of file InternalTestStep.cpp.
References buildPressKeyEvent(), buildTwoPressKeyEvent(), checkIntArgument(), InternalTest::getAttributesEnum(), getIntArgument(), InternalTest::getLastTestStep(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process modifyVTypeDialogAttribute function
Definition at line 872 of file InternalTestStep.cpp.
References buildPressKeyEvent(), buildTwoPressKeyEvent(), checkIntArgument(), checkStringArgument(), InternalTest::getAttributesEnum(), getIntArgument(), InternalTest::getLastTestStep(), getStringArgument(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process click function
Definition at line 514 of file InternalTestStep.cpp.
References buildMouseClick(), InternalTest::getViewPositions(), myArguments, myTestSystem, writeClickInfo(), and writeError().
Referenced by InternalTestStep().
|
private |
process moveElement function
Definition at line 589 of file InternalTestStep.cpp.
References buildMouseClick(), buildMouseDragDrop(), InternalTest::getMovements(), InternalTest::getViewPositions(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process moveElementHorizontal function
Definition at line 547 of file InternalTestStep.cpp.
References buildMouseClick(), buildMouseDragDrop(), InternalTest::getMovements(), InternalTest::getViewPositions(), myArguments, myTestSystem, writeClickInfo(), and writeError().
Referenced by InternalTestStep().
|
private |
process moveElementVertical function
Definition at line 568 of file InternalTestStep.cpp.
References buildMouseClick(), buildMouseDragDrop(), InternalTest::getMovements(), InternalTest::getViewPositions(), myArguments, myTestSystem, writeClickInfo(), and writeError().
Referenced by InternalTestStep().
|
privatedelete |
Invalidated assignment operator.
|
private |
parse arguments
Definition at line 463 of file InternalTestStep.cpp.
References myArguments, and writeError().
Referenced by parseStep().
|
private |
parse function and arguments
Definition at line 419 of file InternalTestStep.cpp.
References parseArguments(), and writeError().
Referenced by InternalTestStep().
|
private |
process pressTLSButton function
Definition at line 1191 of file InternalTestStep.cpp.
References MID_GNE_TLSFRAME_PHASES_ADDUNUSED, MID_GNE_TLSFRAME_PHASES_CLEANUP, MID_GNE_TLSFRAME_PHASES_GROUPSTATES, MID_GNE_TLSFRAME_PHASES_UNGROUPSTATES, myArguments, myCategory, myMessageID, TLS_PHASES, and writeError().
Referenced by InternalTestStep().
|
private |
process pressTLSPhaseButton function
Definition at line 1149 of file InternalTestStep.cpp.
References checkIntArgument(), getIntArgument(), modifyBoolAttribute(), myArguments, and writeError().
Referenced by InternalTestStep().
|
private |
process protect elements function
Definition at line 658 of file InternalTestStep.cpp.
References APP, buildPressKeyEvent(), InternalTest::getAttributesEnum(), InternalTestStep(), MID_HOTKEY_D_MODE_SINGLESIMULATIONSTEP_DELETE, MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process quit function
Definition at line 1967 of file InternalTestStep.cpp.
References APP, MID_HOTKEY_CTRL_Q_CLOSE, myArguments, myCategory, myMessageID, myUpdateView, and writeError().
Referenced by InternalTestStep().
|
private |
process check redo function
Definition at line 1644 of file InternalTestStep.cpp.
References buildRedo(), checkIntArgument(), getIntArgument(), myArguments, and writeError().
Referenced by InternalTestStep().
|
private |
process resetAllTLSPhases function
Definition at line 1135 of file InternalTestStep.cpp.
References checkBoolArgument(), InternalTest::getAttributesEnum(), getBoolArgument(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process resetSingleTLSPhases function
Definition at line 1121 of file InternalTestStep.cpp.
References checkBoolArgument(), InternalTest::getAttributesEnum(), getBoolArgument(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process createConnectionEdit function
Definition at line 992 of file InternalTestStep.cpp.
References InternalTest::getAttributesEnum(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process save function
Definition at line 1345 of file InternalTestStep.cpp.
References APP, checkStringArgument(), getStringArgument(), MID_HOTKEY_CTRL_S_STOPSIMULATION_SAVENETWORK, MID_HOTKEY_CTRL_SHIFT_A_SAVEADDITIONALELEMENTS, MID_HOTKEY_CTRL_SHIFT_B_SAVEDATAELEMENTS, MID_HOTKEY_CTRL_SHIFT_D_SAVEDEMANDELEMENTS, MID_HOTKEY_CTRL_SHIFT_E_SAVENETEDITCONFIG, MID_HOTKEY_CTRL_SHIFT_M_SAVEMEANDATAELEMENTS, MID_HOTKEY_CTRL_SHIFT_S_SAVESUMOCONFIG, myArguments, myCategory, myMessageID, and writeError().
Referenced by InternalTestStep().
|
private |
create rectangle shape
Definition at line 1854 of file InternalTestStep.cpp.
References APP, buildPressKeyEvent(), checkIntArgument(), getIntArgument(), InternalTestStep(), MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process selection function
Definition at line 1396 of file InternalTestStep.cpp.
References APP, buildPressKeyEvent(), checkStringArgument(), InternalTest::getAttributesEnum(), getStringArgument(), InternalTestStep(), MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process selectionRectangle function
Definition at line 1548 of file InternalTestStep.cpp.
References APP, buildMouseDragDrop(), InternalTest::getViewPositions(), InternalTestStep(), MID_HOTKEY_S_MODE_STOPSIMULATION_SELECT, myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process selectNetworkItems function
Definition at line 1446 of file InternalTestStep.cpp.
References APP, buildPressKeyEvent(), checkStringArgument(), InternalTest::getAttributesEnum(), getStringArgument(), InternalTestStep(), MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process setupAndStart function
Definition at line 500 of file InternalTestStep.cpp.
References INIT, MOUSE_REFERENCE_X, MOUSE_REFERENCE_Y, myCategory, myTestSystem, toString(), and InternalTest::updateLastMovedPosition().
Referenced by InternalTestStep().
|
private |
strip spaces
Definition at line 2046 of file InternalTestStep.cpp.
Referenced by writeError().
|
private |
translate key
Definition at line 2190 of file InternalTestStep.cpp.
References KEY_F1, KEY_F10, KEY_F11, KEY_F12, KEY_F2, KEY_F3, KEY_F4, KEY_F5, KEY_F6, KEY_F7, KEY_F8, KEY_F9, and writeError().
Referenced by buildKeyPressEvent(), and buildKeyReleaseEvent().
|
private |
process typeKey function
Definition at line 611 of file InternalTestStep.cpp.
References buildPressKeyEvent(), getStringArgument(), myArguments, and writeError().
Referenced by InternalTestStep().
|
private |
process check undo function
Definition at line 1633 of file InternalTestStep.cpp.
References buildUndo(), checkIntArgument(), getIntArgument(), myArguments, and writeError().
Referenced by InternalTestStep().
| bool InternalTestStep::updateView | ( | ) | const |
check if update view
Definition at line 389 of file InternalTestStep.cpp.
References myUpdateView.
Referenced by buildPressKeyEvent(), and buildTwoPressKeyEvent().
|
private |
process waitDeleteWarning function
Definition at line 677 of file InternalTestStep.cpp.
References myArguments, and writeError().
Referenced by InternalTestStep().
|
private |
write click info
Definition at line 2510 of file InternalTestStep.cpp.
References InternalTest::ViewPosition::getX(), InternalTest::ViewPosition::getY(), MOUSE_REFERENCE_X, MOUSE_REFERENCE_Y, and toString().
Referenced by createConnection(), createShape(), leftClickOffset(), mouseClick(), moveElementHorizontal(), and moveElementVertical().
|
private |
write error
Definition at line 2058 of file InternalTestStep.cpp.
References myArguments, stripSpaces(), WRITE_ERROR, and WRITE_ERRORF.
Referenced by addPhase(), changeEditMode(), changeElement(), changeMode(), changePlan(), changeSupermode(), checkDoubleParameters(), checkParameters(), checkUndoRedo(), computeJunctions(), computeJunctionsVolatileOptions(), contextualMenuOperation(), copyMeanData(), copyTLS(), createConnection(), createCrossing(), createDataInterval(), createDataSet(), createLineShape(), createMeanData(), createRectangledShape(), createSquaredShape(), createTLS(), crossingClearEdges(), crossingInvertEdges(), deleteFunction(), deleteMeanData(), deleteTLS(), disJoinTLS(), fixCrossings(), fixRoute(), fixStoppingPlace(), joinTSL(), leftClickOffset(), lockSelection(), modifyAttribute(), modifyBoolAttribute(), modifyColorAttribute(), modifyCrossingDefaultBoolValue(), modifyCrossingDefaultValue(), modifyTLSTable(), modifyVClassDialog_Cancel(), modifyVClassDialog_DisallowAll(), modifyVClassDialog_NoDisallowAll(), modifyVClassDialog_Reset(), modifyVTypeDialogAttribute(), mouseClick(), moveElement(), moveElementHorizontal(), moveElementVertical(), parseArguments(), parseStep(), pressTLSButton(), pressTLSPhaseButton(), protectElements(), quit(), redo(), resetAllTLSPhases(), resetSingleTLSPhases(), saveConnectionEdit(), saveExistentShortcut(), selectAdditionalChild(), selection(), selectionRectangle(), selectNetworkItems(), translateKey(), typeKey(), undo(), and waitDeleteWarning().
|
private |
arguments
Definition at line 185 of file InternalTestStep.h.
Referenced by addPhase(), changeEditMode(), changeElement(), changeMode(), changePlan(), changeSupermode(), checkDoubleParameters(), checkParameters(), checkUndoRedo(), computeJunctions(), computeJunctionsVolatileOptions(), contextualMenuOperation(), copyMeanData(), copyTLS(), createConnection(), createCrossing(), createDataInterval(), createDataSet(), createLineShape(), createMeanData(), createRectangledShape(), createSquaredShape(), createTLS(), crossingClearEdges(), crossingInvertEdges(), deleteFunction(), deleteMeanData(), deleteTLS(), disJoinTLS(), fixCrossings(), fixRoute(), fixStoppingPlace(), joinTSL(), leftClickOffset(), lockSelection(), modifyAttribute(), modifyBoolAttribute(), modifyColorAttribute(), modifyCrossingDefaultBoolValue(), modifyCrossingDefaultValue(), modifyTLSTable(), modifyVClassDialog_Cancel(), modifyVClassDialog_DisallowAll(), modifyVClassDialog_NoDisallowAll(), modifyVClassDialog_Reset(), modifyVTypeDialogAttribute(), mouseClick(), moveElement(), moveElementHorizontal(), moveElementVertical(), parseArguments(), pressTLSButton(), pressTLSPhaseButton(), protectElements(), quit(), redo(), resetAllTLSPhases(), resetSingleTLSPhases(), saveConnectionEdit(), saveExistentShortcut(), selectAdditionalChild(), selection(), selectionRectangle(), selectNetworkItems(), typeKey(), undo(), waitDeleteWarning(), and writeError().
|
private |
step category
Definition at line 176 of file InternalTestStep.h.
Referenced by addPhase(), changeEditMode(), changeMode(), changeSupermode(), computeJunctions(), computeJunctionsVolatileOptions(), getCategory(), modifyTLSTable(), pressTLSButton(), quit(), saveExistentShortcut(), and setupAndStart().
|
private |
description
Definition at line 182 of file InternalTestStep.h.
Referenced by changeMode(), getDescription(), and InternalTestStep().
|
private |
dialog test
Definition at line 191 of file InternalTestStep.h.
Referenced by computeJunctionsVolatileOptions(), getDialogTest(), InternalTestStep(), and ~InternalTestStep().
|
private |
Test steps used in dialog test.
Definition at line 197 of file InternalTestStep.h.
Referenced by getModalDialogTestSteps(), InternalTestStep(), InternalTestStep(), and ~InternalTestStep().
|
private |
list of events associated with this step
Definition at line 188 of file InternalTestStep.h.
Referenced by getEvent(), and ~InternalTestStep().
|
private |
message ID
Definition at line 173 of file InternalTestStep.h.
Referenced by changeEditMode(), changeMode(), changeSupermode(), computeJunctions(), computeJunctionsVolatileOptions(), getMessageID(), getSelector(), pressTLSButton(), quit(), and saveExistentShortcut().
|
private |
message type (by default SEL_COMMAND)
Definition at line 170 of file InternalTestStep.h.
Referenced by getMessageType(), and getSelector().
|
private |
test system parent
Definition at line 167 of file InternalTestStep.h.
Referenced by buildKeyPressEvent(), buildKeyReleaseEvent(), buildMouseClick(), buildMouseClickEvent(), buildMouseDragDrop(), buildMouseMoveEvent(), buildPressKeyEvent(), buildRedo(), buildTwoPressKeyEvent(), buildUndo(), changeEditMode(), changeElement(), changePlan(), checkIntArgument(), contextualMenuOperation(), copyTLS(), createConnection(), createCrossing(), createDataInterval(), createDataSet(), createLineShape(), createRectangledShape(), createShape(), createSquaredShape(), createTLS(), crossingClearEdges(), crossingInvertEdges(), deleteFunction(), deleteTLS(), disJoinTLS(), fixCrossings(), fixRoute(), fixStoppingPlace(), getIntArgument(), InternalTestStep(), joinTSL(), leftClickOffset(), lockSelection(), modifyBoolAttribute(), modifyColorAttribute(), modifyCrossingDefaultBoolValue(), modifyCrossingDefaultValue(), modifyStringAttribute(), modifyVClassDialog_Cancel(), modifyVClassDialog_DisallowAll(), modifyVClassDialog_NoDisallowAll(), modifyVClassDialog_Reset(), modifyVTypeDialogAttribute(), mouseClick(), moveElement(), moveElementHorizontal(), moveElementVertical(), protectElements(), resetAllTLSPhases(), resetSingleTLSPhases(), saveConnectionEdit(), selectAdditionalChild(), selection(), selectionRectangle(), selectNetworkItems(), and setupAndStart().
|
private |
TLS Table test.
Definition at line 194 of file InternalTestStep.h.
Referenced by addPhase(), getTLSTableTest(), modifyTLSTable(), and ~InternalTestStep().
|
private |
flag to enable or disable view after execute step
Definition at line 179 of file InternalTestStep.h.
Referenced by changeMode(), quit(), and updateView().