![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <InternalTestStep.h>
Data Structures | |
| class | DialogArgument |
| dialog arguments, used for certain modal dialogs that can not be edited using tab More... | |
| class | TLSTableTest |
| struct used for test TLS Tables More... | |
Public Member Functions | |
| Category | getCategory () const |
| get category | |
| const std::string & | getDescription () const |
| get description | |
| DialogArgument * | getDialogArgument () const |
| get dialog argument | |
| void * | getEvent () const |
| get event associated with this step | |
| FXSelector | getMessageID () const |
| get message ID | |
| FXSelector | getMessageType () const |
| get message type | |
| FXSelector | getSelector () const |
| get selector (based in messageType and messageID) | |
| TLSTableTest * | getTLSTableTest () const |
| get TLS Table test | |
| bool | updateView () const |
| check if update view | |
next step management | |
| InternalTestStep * | getNextStep () const |
| get next step | |
| void | setNextStep (InternalTestStep *nextStep) |
| set next step | |
Private Member Functions | |
| void | addPhase (const std::string &type) |
| process addPhase function | |
| void | changeEditMode () |
| process changeEditMode function | |
| void | changeElement () const |
| process changeElement function | |
| void | changeMode () |
| process changeMode function | |
| void | changePlan () const |
| @bief process changePlan function | |
| void | changeSupermode () |
| process changeSupermode function | |
| bool | checkBoolArgument (const std::string &argument) const |
| check bool argument | |
| void | checkDoubleParameters (const int overlappedTabs) const |
| process checkDoubleParameters function | |
| bool | checkIntArgument (const std::string &argument) const |
| check int argument | |
| void | checkParameters (const int overlappedTabs) const |
| process checkParameters function | |
| bool | checkStringArgument (const std::string &argument) const |
| check string argument | |
| void | checkUndoRedo () const |
| process check undo-redo function | |
| void | computeJunctions () |
| process computeJunctions function | |
| void | computeJunctionsVolatileOptions () |
| process computeJunctionsVolatileOptions function | |
| void | contextualMenuOperation () const |
| process contextualMenuOperation function | |
| void | copyMeanData () |
| process copyMeanData function | |
| void | copyTLS () const |
| process Copy TLS function | |
| void | createConnection (const std::string &keyModifier) const |
| process createConnection function | |
| void | createCrossing () const |
| process createCrossing function | |
| void | createDataInterval () const |
| process createDataInterval function | |
| void | createDataSet () const |
| process createDataSet function | |
| void | createLineShape () |
| process createLineShape function | |
| void | createMeanData () |
| process createMeanData function | |
| void | createNewEdgeType () |
| process create new edge type function | |
| void | createRectangledShape () |
| process createRectangledShape function | |
| void | createShape (const InternalTest::ViewPosition &viewPosition, const int sizeX, const int sizeY, const bool close, const bool line) const |
| create shape | |
| void | createSquaredShape () |
| process createSquaredShape function | |
| void | createTLS (const int overlappedTabs) const |
| process createTLS function | |
| void | crossingClearEdges () const |
| process crossingClearEdges function | |
| void | crossingInvertEdges () const |
| process crossingInvertEdges function | |
| void | deleteFunction () const |
| process delete function | |
| void | deleteMeanData () |
| process deleteMeanData function | |
| void | deleteTLS () const |
| process delete TLS function | |
| void | disJoinTLS () const |
| process disJoin TLS function | |
| void | finish () |
| finish function | |
| void | fixCrossings () |
| process fixCrossings function | |
| void | fixRoute () |
| process fixRoutes function | |
| void | fixStoppingPlace () |
| process fixStoppingPlace function | |
| void | focusOnFrame () const |
| process focusOnFrame function | |
| bool | getBoolArgument (const std::string &argument) const |
| get bool argument | |
| int | getIntArgument (const std::string &argument) const |
| get int argument | |
| std::string | getStringArgument (const std::string &argument) const |
| get string argument | |
| InternalTestStep ()=delete | |
| invalidate default constructor | |
| InternalTestStep (const InternalTestStep &)=delete | |
| Invalidated copy constructor. | |
| void | joinJunctions () |
| process joinJunctions function | |
| void | joinTSL () const |
| process join TLS function | |
| void | leftClickOffset (const std::string &button) const |
| process click function | |
| void | loadFile () |
| process load file function | |
| void | lockSelection () const |
| process lockSelection 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 | modifyCrossingDefaultBoolValue () const |
| process modifyCrossingDefaultBoolValue function | |
| void | modifyCrossingDefaultValue () const |
| process modifyCrossingDefaultValue function | |
| void | modifyTLSTable () |
| process modifyTLSTable function | |
| void | modifyVClassDialog_Cancel (const int overlappedTabs) const |
| process modifyVClassDialog_Cancel function | |
| void | modifyVClassDialog_DisallowAll (const int overlappedTabs) const |
| process modifyVClassDialog_DisallowAll function | |
| void | modifyVClassDialog_NoDisallowAll (const int overlappedTabs) const |
| process modifyVClassDialog_DisallowAll function | |
| void | modifyVClassDialog_Reset (const int overlappedTabs) const |
| process modifyVClassDialog_Reset function | |
| void | modifyVTypeDialogAttribute () const |
| process modifyVTypeDialogAttribute function | |
| void | mouseClick (const std::string &button, const std::string &modifier) const |
| process click function | |
| void | moveElement () const |
| process moveElement function | |
| void | moveElementHorizontal () const |
| process moveElementHorizontal function | |
| void | moveElementVertical () const |
| process moveElementVertical function | |
| void | openAboutDialog () |
| process openAboutDialog function | |
| InternalTestStep & | operator= (const InternalTestStep &)=delete |
| Invalidated assignment operator. | |
| void | overwritingAbort () |
| process overwriting abort function | |
| void | overwritingAccept () |
| process overwriting accept function | |
| void | overwritingApplyToAll () |
| process overwriting apply to all function | |
| void | overwritingCancel () |
| process overwriting cancel function | |
| void | parseArguments (const std::string &arguments) |
| parse arguments | |
| std::string | parseStep (const std::string &rowText) |
| parse function and arguments | |
| void | pressTLSButton (const std::string &type) |
| process pressTLSButton function | |
| void | pressTLSPhaseButton () const |
| process pressTLSPhaseButton function | |
| void | protectElements () const |
| process protect elements function | |
| void | quit () |
| process quit function | |
| void | redo () const |
| process redo function | |
| void | reloadFile () |
| process reload file function | |
| void | resetAllTLSPhases () const |
| process resetAllTLSPhases function | |
| void | resetSingleTLSPhases () const |
| process resetSingleTLSPhases function | |
| void | saveConnectionEdit () const |
| process createConnectionEdit function | |
| void | saveExistentFile () |
| process save existent function | |
| void | saveFileAs () |
| process save file as function | |
| void | saveNewFile () |
| process save new file function | |
| void | saveUnifiedFileAs () |
| process save unified file as function | |
| void | selectAdditionalChild () |
| process selectChild function | |
| void | selectEdgeType () |
| process select edge type function | |
| void | selection () const |
| process selection function | |
| void | selectionRectangle () const |
| process selectionRectangle function | |
| void | selectNetworkItems () const |
| process selectNetworkItems function | |
| void | setupAndStart () |
| process setupAndStart function | |
| std::string | stripSpaces (const std::string &str) const |
| strip spaces | |
| void | typeKey () const |
| process typeKey function | |
| void | undo () const |
| process undo function | |
| void | waitDeleteWarning () const |
| process waitDeleteWarning function | |
| void | writeError (const std::string &function, const int overlapping, const std::string &expected) const |
| write error | |
modify attribute functions | |
| void | modifyStringAttribute (Category category, const int tabs, const int overlappedTabs, const std::string &value) const |
| modify attribute | |
| void | modifyBoolAttribute (Category category, 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 (Category category, const std::string &key, const bool updateView) const |
| build a key press and key release (used for tabs, spaces, enter, etc) | |
| void | buildTwoPressKeyEvent (Category category, 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) | |
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 | |
Private Attributes | |
| std::vector< std::string > | myArguments |
| arguments | |
| Category | myCategory = Category::META |
| step category | |
| std::string | myDescription |
| description | |
| DialogArgument * | myDialogArgument = nullptr |
| dialog argument | |
| FXEvent * | myEvent = nullptr |
| list of events associated with this step | |
| FXSelector | myMessageID = 0 |
| message ID | |
| FXSelector | myMessageType = SEL_COMMAND |
| message type (by default SEL_COMMAND) | |
| InternalTestStep * | myNextStep = nullptr |
| next step in the test | |
| InternalTest * | myTestSystem = nullptr |
| test system parent | |
| TLSTableTest * | myTLSTableTest = nullptr |
| TLS Table test. | |
| bool | myUpdateView = false |
| flag to enable or disable view after execute step | |
category step | |
| enum class | Category { META , INIT , FINISH , APP , VIEW , TLS_PHASES , TLS_PHASETABLE , DIALOG } |
| 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 (InternalTest *testSystem, DialogArgument *dialogArgument, const std::string &description) | |
| constructor for dialog arguments | |
| ~InternalTestStep () | |
| destructor | |
Definition at line 32 of file InternalTestStep.h.
|
strong |
| Enumerator | |
|---|---|
| META | |
| INIT | |
| FINISH | |
| APP | |
| VIEW | |
| TLS_PHASES | |
| TLS_PHASETABLE | |
| DIALOG | |
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 126 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(), createNewEdgeType(), createRectangledShape(), createSquaredShape(), createTLS(), crossingClearEdges(), crossingInvertEdges(), deleteFunction(), deleteMeanData(), deleteTLS(), disJoinTLS(), finish(), fixCrossings(), fixRoute(), fixStoppingPlace(), focusOnFrame(), InternalTest::getAttributesEnum(), joinJunctions(), joinTSL(), leftClickOffset(), loadFile(), lockSelection(), modifyAttribute(), modifyBoolAttribute(), modifyColorAttribute(), modifyCrossingDefaultBoolValue(), modifyCrossingDefaultValue(), modifyTLSTable(), modifyVClassDialog_Cancel(), modifyVClassDialog_DisallowAll(), modifyVClassDialog_NoDisallowAll(), modifyVClassDialog_Reset(), modifyVTypeDialogAttribute(), mouseClick(), moveElement(), moveElementHorizontal(), moveElementVertical(), myDescription, myTestSystem, openAboutDialog(), overwritingAbort(), overwritingAccept(), overwritingApplyToAll(), overwritingCancel(), parseStep(), pressTLSButton(), pressTLSPhaseButton(), protectElements(), quit(), redo(), reloadFile(), resetAllTLSPhases(), resetSingleTLSPhases(), saveConnectionEdit(), saveExistentFile(), saveFileAs(), saveNewFile(), saveUnifiedFileAs(), selectAdditionalChild(), selectEdgeType(), 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 364 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 377 of file InternalTestStep.cpp.
References InternalTest::addTestSteps().
| InternalTestStep::InternalTestStep | ( | InternalTest * | testSystem, |
| DialogArgument * | dialogArgument, | ||
| const std::string & | description | ||
| ) |
constructor for dialog arguments
Definition at line 391 of file InternalTestStep.cpp.
References InternalTest::addTestSteps().
| InternalTestStep::~InternalTestStep | ( | ) |
destructor
Definition at line 403 of file InternalTestStep.cpp.
References myDialogArgument, myEvent, and myTLSTableTest.
|
privatedelete |
invalidate default constructor
Referenced by buildMouseClick(), buildMouseDragDrop(), buildPressKeyEvent(), buildRedo(), buildTwoPressKeyEvent(), buildUndo(), changeElement(), changePlan(), computeJunctionsVolatileOptions(), createDataInterval(), createDataSet(), createNewEdgeType(), createShape(), deleteFunction(), fixCrossings(), fixRoute(), fixStoppingPlace(), focusOnFrame(), loadFile(), lockSelection(), modifyBoolAttribute(), modifyColorAttribute(), modifyStringAttribute(), modifyVClassDialog_Cancel(), modifyVClassDialog_DisallowAll(), modifyVClassDialog_NoDisallowAll(), modifyVClassDialog_Reset(), openAboutDialog(), protectElements(), saveFileAs(), saveNewFile(), saveUnifiedFileAs(), selectAdditionalChild(), selectEdgeType(), selection(), selectionRectangle(), and selectNetworkItems().
|
privatedelete |
Invalidated copy constructor.
|
private |
process addPhase function
Definition at line 1174 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 2632 of file InternalTestStep.cpp.
References InternalTest::getTime(), myTestSystem, and translateKey().
Referenced by buildPressKeyEvent(), and buildTwoPressKeyEvent().
|
private |
build key release event
Definition at line 2646 of file InternalTestStep.cpp.
References InternalTest::getTime(), myTestSystem, and translateKey().
Referenced by buildPressKeyEvent().
|
private |
build mouse click event
Definition at line 2689 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 2788 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 2723 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 2752 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 2661 of file InternalTestStep.cpp.
References buildKeyPressEvent(), buildKeyReleaseEvent(), InternalTestStep(), myTestSystem, and updateView().
Referenced by changeElement(), changePlan(), contextualMenuOperation(), createDataInterval(), createDataSet(), createNewEdgeType(), createShape(), modifyBoolAttribute(), modifyStringAttribute(), modifyVTypeDialogAttribute(), protectElements(), selectAdditionalChild(), selectEdgeType(), selection(), selectNetworkItems(), and typeKey().
|
private |
process check redo function
Definition at line 2519 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 2668 of file InternalTestStep.cpp.
References buildKeyPressEvent(), InternalTestStep(), myTestSystem, and updateView().
Referenced by modifyVTypeDialogAttribute().
|
private |
process check undo function
Definition at line 2498 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 1274 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 changeElement function
Definition at line 2066 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 changeMode function
Definition at line 2011 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 changePlan function
Definition at line 2119 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 changeSupermode function
Definition at line 1990 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 2352 of file InternalTestStep.cpp.
Referenced by changePlan(), copyTLS(), createCrossing(), createLineShape(), createNewEdgeType(), createRectangledShape(), createSquaredShape(), deleteTLS(), resetAllTLSPhases(), and resetSingleTLSPhases().
|
private |
process checkDoubleParameters function
Definition at line 1250 of file InternalTestStep.cpp.
References APP, buildRedo(), buildUndo(), checkIntArgument(), getIntArgument(), modifyStringAttribute(), myArguments, and writeError().
Referenced by InternalTestStep().
|
private |
check int argument
Definition at line 2330 of file InternalTestStep.cpp.
References InternalTest::getAttributesEnum(), StringUtils::isInt(), and myTestSystem.
Referenced by addPhase(), checkDoubleParameters(), checkParameters(), createLineShape(), createRectangledShape(), createSquaredShape(), leftClickOffset(), loadFile(), lockSelection(), modifyAttribute(), modifyBoolAttribute(), modifyColorAttribute(), modifyCrossingDefaultBoolValue(), modifyCrossingDefaultValue(), modifyTLSTable(), modifyVClassDialog_Cancel(), modifyVClassDialog_DisallowAll(), modifyVClassDialog_NoDisallowAll(), modifyVClassDialog_Reset(), modifyVTypeDialogAttribute(), pressTLSPhaseButton(), redo(), saveFileAs(), saveNewFile(), saveUnifiedFileAs(), selectAdditionalChild(), and undo().
|
private |
process checkParameters function
Definition at line 1226 of file InternalTestStep.cpp.
References APP, buildRedo(), buildUndo(), checkIntArgument(), getIntArgument(), modifyStringAttribute(), myArguments, and writeError().
Referenced by InternalTestStep().
|
private |
check string argument
Definition at line 2374 of file InternalTestStep.cpp.
Referenced by changeElement(), changeMode(), changePlan(), changeSupermode(), createDataInterval(), createDataSet(), fixCrossings(), fixRoute(), fixStoppingPlace(), modifyAttribute(), modifyCrossingDefaultValue(), modifyTLSTable(), modifyVTypeDialogAttribute(), saveExistentFile(), selection(), and selectNetworkItems().
|
private |
process check undo-redo function
Definition at line 1389 of file InternalTestStep.cpp.
References buildRedo(), buildUndo(), myArguments, and writeError().
Referenced by InternalTestStep().
|
private |
process computeJunctions function
Definition at line 2161 of file InternalTestStep.cpp.
References APP, MID_HOTKEY_F5_COMPUTE_NETWORK_DEMAND, myArguments, myCategory, myMessageID, and writeError().
Referenced by InternalTestStep().
|
private |
process computeJunctionsVolatileOptions function
Definition at line 2172 of file InternalTestStep.cpp.
References InternalTestStep::DialogArgument::ABORT, InternalTestStep::DialogArgument::ACCEPT, APP, InternalTestStep::DialogArgument::CANCEL, getStringArgument(), InternalTestStep(), MID_HOTKEY_SHIFT_F5_COMPUTEJUNCTIONS_VOLATILE, myArguments, myCategory, myMessageID, myTestSystem, QUESTION, and writeError().
Referenced by InternalTestStep().
|
private |
process contextualMenuOperation function
Definition at line 706 of file InternalTestStep.cpp.
References APP, buildMouseClick(), buildPressKeyEvent(), InternalTest::getContextualMenuOperations(), InternalTest::getViewPositions(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process copyMeanData function
Definition at line 2307 of file InternalTestStep.cpp.
References APP, modifyBoolAttribute(), myArguments, and writeError().
Referenced by InternalTestStep().
|
private |
process Copy TLS function
Definition at line 1069 of file InternalTestStep.cpp.
References APP, checkBoolArgument(), InternalTest::getAttributesEnum(), getBoolArgument(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process createConnection function
Definition at line 924 of file InternalTestStep.cpp.
References buildMouseClick(), InternalTest::getViewPositions(), myArguments, myTestSystem, writeClickInfo(), and writeError().
Referenced by InternalTestStep().
|
private |
process createCrossing function
Definition at line 944 of file InternalTestStep.cpp.
References APP, checkBoolArgument(), InternalTest::getAttributesEnum(), getBoolArgument(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process createDataInterval function
Definition at line 1609 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 1580 of file InternalTestStep.cpp.
References APP, buildPressKeyEvent(), checkStringArgument(), getStringArgument(), InternalTestStep(), MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process createLineShape function
Definition at line 2268 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 2287 of file InternalTestStep.cpp.
References APP, modifyBoolAttribute(), myArguments, and writeError().
Referenced by InternalTestStep().
|
private |
process create new edge type function
Definition at line 1914 of file InternalTestStep.cpp.
References APP, buildPressKeyEvent(), checkBoolArgument(), InternalTest::getAttributesEnum(), getBoolArgument(), InternalTestStep(), MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process createRectangledShape function
Definition at line 2231 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 2425 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 createSquaredShape function
Definition at line 2250 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 1059 of file InternalTestStep.cpp.
References APP, InternalTest::getAttributesEnum(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process crossingClearEdges function
Definition at line 981 of file InternalTestStep.cpp.
References APP, InternalTest::getAttributesEnum(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process crossingInvertEdges function
Definition at line 991 of file InternalTestStep.cpp.
References APP, InternalTest::getAttributesEnum(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process delete function
Definition at line 1401 of file InternalTestStep.cpp.
References APP, InternalTestStep(), MID_HOTKEY_DEL, myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process deleteMeanData function
Definition at line 2297 of file InternalTestStep.cpp.
References APP, modifyBoolAttribute(), myArguments, and writeError().
Referenced by InternalTestStep().
|
private |
process delete TLS function
Definition at line 1103 of file InternalTestStep.cpp.
References APP, checkBoolArgument(), InternalTest::getAttributesEnum(), getBoolArgument(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process disJoin TLS function
Definition at line 1093 of file InternalTestStep.cpp.
References APP, InternalTest::getAttributesEnum(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
finish function
Definition at line 580 of file InternalTestStep.cpp.
References FINISH, myCategory, and myUpdateView.
Referenced by InternalTestStep().
|
private |
process fixCrossings function
Definition at line 1011 of file InternalTestStep.cpp.
References InternalTestStep::DialogArgument::ACCEPT, APP, checkStringArgument(), FIX_NETWORKELEMENTS, getStringArgument(), InternalTestStep(), MID_HOTKEY_CTRL_SHIFT_E_SAVENETEDITCONFIG, myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process fixRoutes function
Definition at line 1043 of file InternalTestStep.cpp.
References InternalTestStep::DialogArgument::ACCEPT, APP, checkStringArgument(), FIX_DEMANDELEMENTS, getStringArgument(), InternalTestStep(), MID_HOTKEY_CTRL_SHIFT_E_SAVENETEDITCONFIG, myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process fixStoppingPlace function
Definition at line 1027 of file InternalTestStep.cpp.
References InternalTestStep::DialogArgument::ACCEPT, APP, checkStringArgument(), FIX_ADDITIONALELEMENTS, getStringArgument(), InternalTestStep(), MID_HOTKEY_CTRL_SHIFT_E_SAVENETEDITCONFIG, myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process focusOnFrame function
Definition at line 685 of file InternalTestStep.cpp.
References APP, InternalTestStep(), MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
get bool argument
Definition at line 2364 of file InternalTestStep.cpp.
Referenced by changePlan(), copyTLS(), createCrossing(), createLineShape(), createNewEdgeType(), createRectangledShape(), createSquaredShape(), deleteTLS(), resetAllTLSPhases(), and resetSingleTLSPhases().
| InternalTestStep::Category InternalTestStep::getCategory | ( | ) | const |
| const std::string & InternalTestStep::getDescription | ( | ) | const |
| InternalTestStep::DialogArgument * InternalTestStep::getDialogArgument | ( | ) | const |
get dialog argument
Definition at line 441 of file InternalTestStep.cpp.
References myDialogArgument.
| void * InternalTestStep::getEvent | ( | ) | const |
get event associated with this step
Definition at line 471 of file InternalTestStep.cpp.
References myEvent.
|
private |
get int argument
Definition at line 2342 of file InternalTestStep.cpp.
References InternalTest::getAttributesEnum(), StringUtils::isInt(), myTestSystem, and StringUtils::toInt().
Referenced by addPhase(), checkDoubleParameters(), checkParameters(), createLineShape(), createRectangledShape(), createSquaredShape(), leftClickOffset(), loadFile(), lockSelection(), modifyAttribute(), modifyBoolAttribute(), modifyColorAttribute(), modifyCrossingDefaultBoolValue(), modifyCrossingDefaultValue(), modifyTLSTable(), modifyVClassDialog_Cancel(), modifyVClassDialog_DisallowAll(), modifyVClassDialog_NoDisallowAll(), modifyVClassDialog_Reset(), modifyVTypeDialogAttribute(), pressTLSPhaseButton(), redo(), saveFileAs(), saveNewFile(), saveUnifiedFileAs(), selectAdditionalChild(), and undo().
| FXSelector InternalTestStep::getMessageID | ( | ) | const |
| FXSelector InternalTestStep::getMessageType | ( | ) | const |
| InternalTestStep * InternalTestStep::getNextStep | ( | ) | const |
get next step
Definition at line 417 of file InternalTestStep.cpp.
References myNextStep.
Referenced by InternalTest::setNextStep(), and InternalTest::~InternalTest().
| FXSelector InternalTestStep::getSelector | ( | ) | const |
get selector (based in messageType and messageID)
Definition at line 453 of file InternalTestStep.cpp.
References myMessageID, and myMessageType.
|
private |
get string argument
Definition at line 2386 of file InternalTestStep.cpp.
Referenced by changeElement(), changeMode(), changePlan(), changeSupermode(), computeJunctionsVolatileOptions(), createDataInterval(), createDataSet(), fixCrossings(), fixRoute(), fixStoppingPlace(), loadFile(), modifyAttribute(), modifyCrossingDefaultValue(), modifyTLSTable(), modifyVTypeDialogAttribute(), reloadFile(), saveExistentFile(), saveFileAs(), saveNewFile(), saveUnifiedFileAs(), selection(), selectNetworkItems(), and typeKey().
| InternalTestStep::TLSTableTest * InternalTestStep::getTLSTableTest | ( | ) | const |
|
private |
process joinJunctions function
Definition at line 2193 of file InternalTestStep.cpp.
References APP, MID_HOTKEY_F7_JOIN_SELECTEDJUNCTIONS_ROUTES, myArguments, myCategory, myMessageID, and writeError().
Referenced by InternalTestStep().
|
private |
process join TLS function
Definition at line 1083 of file InternalTestStep.cpp.
References APP, InternalTest::getAttributesEnum(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process click function
Definition at line 603 of file InternalTestStep.cpp.
References buildMouseClick(), checkIntArgument(), getIntArgument(), InternalTest::getViewPositions(), myArguments, myTestSystem, writeClickInfo(), and writeError().
Referenced by InternalTestStep().
|
private |
process load file function
Definition at line 1661 of file InternalTestStep.cpp.
References InternalTestStep::DialogArgument::ACCEPT, APP, checkIntArgument(), FILE, getIntArgument(), getStringArgument(), InternalTestStep(), MID_GNE_TOOLBARFILE_OPENMEANDATAELEMENTS, MID_HOTKEY_CTRL_A_STARTSIMULATION_OPENADDITIONALELEMENTS, MID_HOTKEY_CTRL_B_EDITBREAKPOINT_OPENDATAELEMENTS, MID_HOTKEY_CTRL_D_SINGLESIMULATIONSTEP_OPENDEMANDELEMENTS, MID_HOTKEY_CTRL_E_EDITSELECTION_LOADNETEDITCONFIG, MID_HOTKEY_CTRL_H_APPSETTINGS_OPENEDGETYPES, MID_HOTKEY_CTRL_K_OPENTLSPROGRAMS, MID_HOTKEY_CTRL_M_OPENSUMOCONFIG, MID_HOTKEY_CTRL_O_OPENSIMULATION_OPENNETWORK, MID_HOTKEY_CTRL_SHIFT_O_OPENNETCONVERTFILE, myArguments, myCategory, myMessageID, myTestSystem, WRITE_ERRORF, and writeError().
Referenced by InternalTestStep().
|
private |
process lockSelection function
Definition at line 1518 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 772 of file InternalTestStep.cpp.
References APP, checkIntArgument(), checkStringArgument(), getIntArgument(), getStringArgument(), modifyStringAttribute(), myArguments, and writeError().
Referenced by InternalTestStep().
|
private |
modify bool attribute
Definition at line 2485 of file InternalTestStep.cpp.
References buildPressKeyEvent(), InternalTestStep(), MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, and myTestSystem.
|
private |
process modifyBoolAttribute function
Definition at line 784 of file InternalTestStep.cpp.
References APP, 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 |
process modifyColorAttribute function
Definition at line 795 of file InternalTestStep.cpp.
References InternalTestStep::DialogArgument::ACCEPT, APP, checkIntArgument(), COLOR, getIntArgument(), InternalTestStep(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process modifyCrossingDefaultBoolValue function
Definition at line 970 of file InternalTestStep.cpp.
References APP, checkIntArgument(), InternalTest::getAttributesEnum(), getIntArgument(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process modifyCrossingDefaultValue function
Definition at line 958 of file InternalTestStep.cpp.
References APP, checkIntArgument(), checkStringArgument(), InternalTest::getAttributesEnum(), getIntArgument(), getStringArgument(), modifyStringAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
modify attribute
Definition at line 2462 of file InternalTestStep.cpp.
References buildPressKeyEvent(), InternalTestStep(), MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, and myTestSystem.
Referenced by checkDoubleParameters(), checkParameters(), modifyAttribute(), and modifyCrossingDefaultValue().
|
private |
process modifyTLSTable function
Definition at line 1117 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 844 of file InternalTestStep.cpp.
References APP, InternalTestStep::DialogArgument::CANCEL, checkIntArgument(), getIntArgument(), InternalTestStep(), modifyBoolAttribute(), myArguments, myTestSystem, VCLASS, and writeError().
Referenced by InternalTestStep().
|
private |
process modifyVClassDialog_DisallowAll function
Definition at line 826 of file InternalTestStep.cpp.
References InternalTestStep::DialogArgument::ACCEPT, APP, checkIntArgument(), getIntArgument(), InternalTestStep(), modifyBoolAttribute(), myArguments, myTestSystem, VCLASS, and writeError().
Referenced by InternalTestStep().
|
private |
process modifyVClassDialog_DisallowAll function
Definition at line 810 of file InternalTestStep.cpp.
References InternalTestStep::DialogArgument::ACCEPT, APP, checkIntArgument(), getIntArgument(), InternalTestStep(), modifyBoolAttribute(), myArguments, myTestSystem, VCLASS, and writeError().
Referenced by InternalTestStep().
|
private |
process modifyVClassDialog_Reset function
Definition at line 863 of file InternalTestStep.cpp.
References InternalTestStep::DialogArgument::ACCEPT, APP, checkIntArgument(), getIntArgument(), InternalTestStep(), modifyBoolAttribute(), myArguments, myTestSystem, InternalTestStep::DialogArgument::RESET, VCLASS, and writeError().
Referenced by InternalTestStep().
|
private |
process modifyVTypeDialogAttribute function
Definition at line 883 of file InternalTestStep.cpp.
References APP, buildPressKeyEvent(), buildTwoPressKeyEvent(), checkIntArgument(), checkStringArgument(), DIALOG, InternalTest::getAttributesEnum(), getIntArgument(), getStringArgument(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process click function
Definition at line 588 of file InternalTestStep.cpp.
References buildMouseClick(), InternalTest::getViewPositions(), myArguments, myTestSystem, writeClickInfo(), and writeError().
Referenced by InternalTestStep().
|
private |
process moveElement function
Definition at line 663 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 621 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 642 of file InternalTestStep.cpp.
References buildMouseClick(), buildMouseDragDrop(), InternalTest::getMovements(), InternalTest::getViewPositions(), myArguments, myTestSystem, writeClickInfo(), and writeError().
Referenced by InternalTestStep().
|
private |
process openAboutDialog function
Definition at line 1648 of file InternalTestStep.cpp.
References ABOUT, InternalTestStep::DialogArgument::ACCEPT, APP, InternalTestStep(), MID_HOTKEY_F12_ABOUT, myArguments, myCategory, myMessageID, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
privatedelete |
Invalidated assignment operator.
|
private |
process overwriting abort function
Definition at line 1952 of file InternalTestStep.cpp.
References InternalTestStep::DialogArgument::ABORT, DIALOG, myCategory, myDescription, myDialogArgument, and OVERWRITE.
Referenced by InternalTestStep().
|
private |
process overwriting accept function
Definition at line 1936 of file InternalTestStep.cpp.
References InternalTestStep::DialogArgument::ACCEPT, DIALOG, myCategory, myDescription, myDialogArgument, and OVERWRITE.
Referenced by InternalTestStep().
|
private |
process overwriting apply to all function
Definition at line 1960 of file InternalTestStep.cpp.
References DIALOG, myCategory, myDescription, myDialogArgument, and OVERWRITE.
Referenced by InternalTestStep().
|
private |
process overwriting cancel function
Definition at line 1944 of file InternalTestStep.cpp.
References InternalTestStep::DialogArgument::CANCEL, DIALOG, myCategory, myDescription, myDialogArgument, and OVERWRITE.
Referenced by InternalTestStep().
|
private |
parse arguments
Definition at line 529 of file InternalTestStep.cpp.
References myArguments, and writeError().
Referenced by parseStep().
|
private |
parse function and arguments
Definition at line 483 of file InternalTestStep.cpp.
References parseArguments(), and writeError().
Referenced by InternalTestStep().
|
private |
process pressTLSButton function
Definition at line 1206 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 1164 of file InternalTestStep.cpp.
References checkIntArgument(), getIntArgument(), modifyBoolAttribute(), myArguments, and writeError().
Referenced by InternalTestStep().
|
private |
process protect elements function
Definition at line 743 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 2317 of file InternalTestStep.cpp.
References APP, MID_HOTKEY_CTRL_Q_CLOSE, myArguments, myCategory, myMessageID, myUpdateView, and writeError().
Referenced by InternalTestStep().
|
private |
process redo function
Definition at line 1979 of file InternalTestStep.cpp.
References buildRedo(), checkIntArgument(), getIntArgument(), myArguments, and writeError().
Referenced by InternalTestStep().
|
private |
process reload file function
Definition at line 1864 of file InternalTestStep.cpp.
References APP, getStringArgument(), MID_GNE_TOOLBARFILE_RELOAD_ADDITIONALELEMENTS, MID_GNE_TOOLBARFILE_RELOAD_DATAELEMENTS, MID_GNE_TOOLBARFILE_RELOAD_DEMANDELEMENTS, MID_GNE_TOOLBARFILE_RELOAD_EDGETYPES, MID_GNE_TOOLBARFILE_RELOAD_MEANDATAELEMENTS, MID_GNE_TOOLBARFILE_RELOAD_NETEDITCONFIG, MID_GNE_TOOLBARFILE_RELOAD_SUMOCONFIG, MID_GNE_TOOLBARFILE_RELOAD_TLSPROGRAMS, MID_GNE_TOOLBARFILE_RELOADNETWORK, myArguments, myCategory, myMessageID, WRITE_ERRORF, and writeError().
Referenced by InternalTestStep().
|
private |
process resetAllTLSPhases function
Definition at line 1150 of file InternalTestStep.cpp.
References checkBoolArgument(), InternalTest::getAttributesEnum(), getBoolArgument(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process resetSingleTLSPhases function
Definition at line 1136 of file InternalTestStep.cpp.
References checkBoolArgument(), InternalTest::getAttributesEnum(), getBoolArgument(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process createConnectionEdit function
Definition at line 1001 of file InternalTestStep.cpp.
References APP, InternalTest::getAttributesEnum(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process save existent function
Definition at line 1360 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 |
process save file as function
Definition at line 1759 of file InternalTestStep.cpp.
References InternalTestStep::DialogArgument::ACCEPT, APP, checkIntArgument(), FILE, getIntArgument(), getStringArgument(), InternalTestStep(), MID_GNE_SAVEJOINEDJUNCTIONS, MID_GNE_TOOLBARFILE_SAVEEDGETYPES_AS, MID_GNE_TOOLBARFILE_SAVEJUPEDSIMELEMENTS_AS, MID_GNE_TOOLBARFILE_SAVENETEDITCONFIG_AS, MID_GNE_TOOLBARFILE_SAVENETWORK_AS, MID_GNE_TOOLBARFILE_SAVESUMOCONFIG_AS, MID_GNE_TOOLBARFILE_SAVETLSPROGRAMS_AS, myArguments, myCategory, myMessageID, myTestSystem, WRITE_ERRORF, and writeError().
Referenced by InternalTestStep().
|
private |
process save new file function
Definition at line 1711 of file InternalTestStep.cpp.
References InternalTestStep::DialogArgument::ACCEPT, APP, checkIntArgument(), FILE, getIntArgument(), getStringArgument(), InternalTestStep(), MID_HOTKEY_CTRL_L_SAVEASPLAINXML, MID_HOTKEY_CTRL_S_STOPSIMULATION_SAVENETWORK, MID_HOTKEY_CTRL_SHIFT_E_SAVENETEDITCONFIG, MID_HOTKEY_CTRL_SHIFT_H_SAVEEDGETYPES, MID_HOTKEY_CTRL_SHIFT_K_SAVETLS, MID_HOTKEY_CTRL_SHIFT_S_SAVESUMOCONFIG, myArguments, myCategory, myMessageID, myTestSystem, WRITE_ERRORF, and writeError().
Referenced by InternalTestStep().
|
private |
process save unified file as function
Definition at line 1822 of file InternalTestStep.cpp.
References InternalTestStep::DialogArgument::ACCEPT, APP, checkIntArgument(), FILE, getIntArgument(), getStringArgument(), InternalTestStep(), MID_GNE_TOOLBARFILE_SAVEADDITIONALELEMENTS_UNIFIED, MID_GNE_TOOLBARFILE_SAVEDATAELEMENTS_UNIFIED, MID_GNE_TOOLBARFILE_SAVEDEMANDELEMENTS_UNIFIED, MID_GNE_TOOLBARFILE_SAVEMEANDATAELEMENTS_UNIFIED, myArguments, myCategory, myMessageID, myTestSystem, WRITE_ERRORF, and writeError().
Referenced by InternalTestStep().
|
private |
process selectChild function
Definition at line 2204 of file InternalTestStep.cpp.
References APP, buildPressKeyEvent(), checkIntArgument(), getIntArgument(), InternalTestStep(), MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process select edge type function
Definition at line 1898 of file InternalTestStep.cpp.
References APP, buildPressKeyEvent(), InternalTest::getAttributesEnum(), InternalTestStep(), MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
|
private |
process selection function
Definition at line 1411 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 1563 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 1461 of file InternalTestStep.cpp.
References APP, buildPressKeyEvent(), checkStringArgument(), InternalTest::getAttributesEnum(), getStringArgument(), InternalTestStep(), MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, myArguments, myTestSystem, and writeError().
Referenced by InternalTestStep().
| void InternalTestStep::setNextStep | ( | InternalTestStep * | nextStep | ) |
set next step
Definition at line 423 of file InternalTestStep.cpp.
References myNextStep.
Referenced by InternalTest::addTestSteps().
|
private |
process setupAndStart function
Definition at line 566 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 2396 of file InternalTestStep.cpp.
Referenced by writeError().
|
private |
translate key
Definition at line 2540 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 696 of file InternalTestStep.cpp.
References APP, buildPressKeyEvent(), getStringArgument(), myArguments, and writeError().
Referenced by InternalTestStep().
|
private |
process undo function
Definition at line 1968 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 459 of file InternalTestStep.cpp.
References myUpdateView.
Referenced by buildPressKeyEvent(), and buildTwoPressKeyEvent().
|
private |
process waitDeleteWarning function
Definition at line 762 of file InternalTestStep.cpp.
References myArguments, and writeError().
Referenced by InternalTestStep().
|
private |
write click info
Definition at line 2832 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 2408 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(), createNewEdgeType(), createRectangledShape(), createSquaredShape(), createTLS(), crossingClearEdges(), crossingInvertEdges(), deleteFunction(), deleteMeanData(), deleteTLS(), disJoinTLS(), fixCrossings(), fixRoute(), fixStoppingPlace(), focusOnFrame(), joinJunctions(), joinTSL(), leftClickOffset(), loadFile(), lockSelection(), modifyAttribute(), modifyBoolAttribute(), modifyColorAttribute(), modifyCrossingDefaultBoolValue(), modifyCrossingDefaultValue(), modifyTLSTable(), modifyVClassDialog_Cancel(), modifyVClassDialog_DisallowAll(), modifyVClassDialog_NoDisallowAll(), modifyVClassDialog_Reset(), modifyVTypeDialogAttribute(), mouseClick(), moveElement(), moveElementHorizontal(), moveElementVertical(), openAboutDialog(), parseArguments(), parseStep(), pressTLSButton(), pressTLSPhaseButton(), protectElements(), quit(), redo(), reloadFile(), resetAllTLSPhases(), resetSingleTLSPhases(), saveConnectionEdit(), saveExistentFile(), saveFileAs(), saveNewFile(), saveUnifiedFileAs(), selectAdditionalChild(), selectEdgeType(), selection(), selectionRectangle(), selectNetworkItems(), translateKey(), typeKey(), undo(), and waitDeleteWarning().
|
private |
arguments
Definition at line 215 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(), createNewEdgeType(), createRectangledShape(), createSquaredShape(), createTLS(), crossingClearEdges(), crossingInvertEdges(), deleteFunction(), deleteMeanData(), deleteTLS(), disJoinTLS(), fixCrossings(), fixRoute(), fixStoppingPlace(), focusOnFrame(), joinJunctions(), joinTSL(), leftClickOffset(), loadFile(), lockSelection(), modifyAttribute(), modifyBoolAttribute(), modifyColorAttribute(), modifyCrossingDefaultBoolValue(), modifyCrossingDefaultValue(), modifyTLSTable(), modifyVClassDialog_Cancel(), modifyVClassDialog_DisallowAll(), modifyVClassDialog_NoDisallowAll(), modifyVClassDialog_Reset(), modifyVTypeDialogAttribute(), mouseClick(), moveElement(), moveElementHorizontal(), moveElementVertical(), openAboutDialog(), parseArguments(), pressTLSButton(), pressTLSPhaseButton(), protectElements(), quit(), redo(), reloadFile(), resetAllTLSPhases(), resetSingleTLSPhases(), saveConnectionEdit(), saveExistentFile(), saveFileAs(), saveNewFile(), saveUnifiedFileAs(), selectAdditionalChild(), selectEdgeType(), selection(), selectionRectangle(), selectNetworkItems(), typeKey(), undo(), waitDeleteWarning(), and writeError().
|
private |
step category
Definition at line 206 of file InternalTestStep.h.
Referenced by addPhase(), changeEditMode(), changeMode(), changeSupermode(), computeJunctions(), computeJunctionsVolatileOptions(), finish(), getCategory(), joinJunctions(), loadFile(), modifyTLSTable(), openAboutDialog(), overwritingAbort(), overwritingAccept(), overwritingApplyToAll(), overwritingCancel(), pressTLSButton(), quit(), reloadFile(), saveExistentFile(), saveFileAs(), saveNewFile(), saveUnifiedFileAs(), and setupAndStart().
|
private |
description
Definition at line 212 of file InternalTestStep.h.
Referenced by changeMode(), getDescription(), InternalTestStep(), overwritingAbort(), overwritingAccept(), overwritingApplyToAll(), and overwritingCancel().
|
private |
dialog argument
Definition at line 221 of file InternalTestStep.h.
Referenced by getDialogArgument(), overwritingAbort(), overwritingAccept(), overwritingApplyToAll(), overwritingCancel(), and ~InternalTestStep().
|
private |
list of events associated with this step
Definition at line 218 of file InternalTestStep.h.
Referenced by getEvent(), and ~InternalTestStep().
|
private |
message ID
Definition at line 203 of file InternalTestStep.h.
Referenced by changeEditMode(), changeMode(), changeSupermode(), computeJunctions(), computeJunctionsVolatileOptions(), getMessageID(), getSelector(), joinJunctions(), loadFile(), openAboutDialog(), pressTLSButton(), quit(), reloadFile(), saveExistentFile(), saveFileAs(), saveNewFile(), and saveUnifiedFileAs().
|
private |
message type (by default SEL_COMMAND)
Definition at line 200 of file InternalTestStep.h.
Referenced by getMessageType(), and getSelector().
|
private |
next step in the test
Definition at line 197 of file InternalTestStep.h.
Referenced by getNextStep(), and setNextStep().
|
private |
test system parent
Definition at line 194 of file InternalTestStep.h.
Referenced by buildKeyPressEvent(), buildKeyReleaseEvent(), buildMouseClick(), buildMouseClickEvent(), buildMouseDragDrop(), buildMouseMoveEvent(), buildPressKeyEvent(), buildRedo(), buildTwoPressKeyEvent(), buildUndo(), changeEditMode(), changeElement(), changePlan(), checkIntArgument(), computeJunctionsVolatileOptions(), contextualMenuOperation(), copyTLS(), createConnection(), createCrossing(), createDataInterval(), createDataSet(), createLineShape(), createNewEdgeType(), createRectangledShape(), createShape(), createSquaredShape(), createTLS(), crossingClearEdges(), crossingInvertEdges(), deleteFunction(), deleteTLS(), disJoinTLS(), fixCrossings(), fixRoute(), fixStoppingPlace(), focusOnFrame(), getIntArgument(), InternalTestStep(), joinTSL(), leftClickOffset(), loadFile(), lockSelection(), modifyBoolAttribute(), modifyColorAttribute(), modifyCrossingDefaultBoolValue(), modifyCrossingDefaultValue(), modifyStringAttribute(), modifyVClassDialog_Cancel(), modifyVClassDialog_DisallowAll(), modifyVClassDialog_NoDisallowAll(), modifyVClassDialog_Reset(), modifyVTypeDialogAttribute(), mouseClick(), moveElement(), moveElementHorizontal(), moveElementVertical(), openAboutDialog(), protectElements(), resetAllTLSPhases(), resetSingleTLSPhases(), saveConnectionEdit(), saveFileAs(), saveNewFile(), saveUnifiedFileAs(), selectAdditionalChild(), selectEdgeType(), selection(), selectionRectangle(), selectNetworkItems(), and setupAndStart().
|
private |
TLS Table test.
Definition at line 224 of file InternalTestStep.h.
Referenced by addPhase(), getTLSTableTest(), modifyTLSTable(), and ~InternalTestStep().
|
private |
flag to enable or disable view after execute step
Definition at line 209 of file InternalTestStep.h.
Referenced by changeMode(), finish(), quit(), and updateView().