Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
InternalTestStep Class Reference

#include <InternalTestStep.h>

Collaboration diagram for InternalTestStep:
[legend]

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
 
DialogArgumentgetDialogArgument () 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)
 
TLSTableTestgetTLSTableTest () const
 get TLS Table test
 
bool updateView () const
 check if update view
 
next step management
InternalTestStepgetNextStep () 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 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 fixCrossings ()
 process fixCrossings function
 
void fixRoute ()
 process fixRoutes function
 
void fixStoppingPlace ()
 process fixStoppingPlace 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 joinTSL () const
 process join TLS function
 
void leftClickOffset (const std::string &button) const
 process click 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
 
InternalTestStepoperator= (const InternalTestStep &)=delete
 Invalidated assignment operator.
 
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 resetAllTLSPhases () const
 process resetAllTLSPhases function
 
void resetSingleTLSPhases () const
 process resetSingleTLSPhases function
 
void saveConnectionEdit () const
 process createConnectionEdit function
 
void saveExistentShortcut ()
 process save function
 
void selectAdditionalChild ()
 process selectChild 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
 
DialogArgumentmyDialogArgument = 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)
 
InternalTestStepmyNextStep = nullptr
 next step in the test
 
InternalTestmyTestSystem = nullptr
 test system parent
 
TLSTableTestmyTLSTableTest = nullptr
 TLS Table test.
 
bool myUpdateView = false
 flag to enable or disable view after execute step
 

category step

enum class  Category {
  META , INIT , APP , VIEW ,
  TLS_PHASES , TLS_PHASETABLE , DIALOG , COLOR
}
 
 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
 

Detailed Description

Definition at line 31 of file InternalTestStep.h.

Member Enumeration Documentation

◆ Category

Enumerator
META 
INIT 
APP 
VIEW 
TLS_PHASES 
TLS_PHASETABLE 
DIALOG 
COLOR 

Definition at line 35 of file InternalTestStep.h.

Constructor & Destructor Documentation

◆ InternalTestStep() [1/6]

InternalTestStep::InternalTestStep ( InternalTest testSystem,
const std::string &  step 
)

constructor for parsing step in string format

Definition at line 114 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, openAboutDialog(), parseStep(), pressTLSButton(), pressTLSPhaseButton(), protectElements(), quit(), redo(), resetAllTLSPhases(), resetSingleTLSPhases(), saveConnectionEdit(), saveExistentShortcut(), selectAdditionalChild(), selection(), selectionRectangle(), selectNetworkItems(), setupAndStart(), typeKey(), undo(), and waitDeleteWarning().

◆ InternalTestStep() [2/6]

InternalTestStep::InternalTestStep ( InternalTest testSystem,
FXSelector  messageType,
FXSelector  messageID,
Category  category,
const std::string &  description 
)

constructor for shortcuts

Definition at line 324 of file InternalTestStep.cpp.

References InternalTest::addTestSteps().

◆ InternalTestStep() [3/6]

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 337 of file InternalTestStep.cpp.

References InternalTest::addTestSteps().

◆ InternalTestStep() [4/6]

InternalTestStep::InternalTestStep ( InternalTest testSystem,
DialogArgument dialogArgument,
const std::string &  description 
)

constructor for dialog arguments

Definition at line 351 of file InternalTestStep.cpp.

References InternalTest::addTestSteps().

◆ ~InternalTestStep()

InternalTestStep::~InternalTestStep ( )

destructor

Definition at line 363 of file InternalTestStep.cpp.

References myDialogArgument, myEvent, and myTLSTableTest.

◆ InternalTestStep() [5/6]

◆ InternalTestStep() [6/6]

InternalTestStep::InternalTestStep ( const InternalTestStep )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ addPhase()

void InternalTestStep::addPhase ( const std::string &  type)
private

◆ buildKeyPressEvent()

FXEvent * InternalTestStep::buildKeyPressEvent ( const std::string &  key) const
private

build key press event

Definition at line 2253 of file InternalTestStep.cpp.

References InternalTest::getTime(), myTestSystem, and translateKey().

Referenced by buildPressKeyEvent(), and buildTwoPressKeyEvent().

Here is the caller graph for this function:

◆ buildKeyReleaseEvent()

FXEvent * InternalTestStep::buildKeyReleaseEvent ( const std::string &  key) const
private

build key release event

Definition at line 2267 of file InternalTestStep.cpp.

References InternalTest::getTime(), myTestSystem, and translateKey().

Referenced by buildPressKeyEvent().

Here is the caller graph for this function:

◆ buildMouseClick()

void InternalTestStep::buildMouseClick ( const InternalTest::ViewPosition viewPosition,
const int  offsetX,
const int  offsetY,
const std::string &  button,
const std::string &  keyModifier 
) const
private

build mouse click event

Definition at line 2310 of file InternalTestStep.cpp.

References buildMouseClickEvent(), buildMouseMoveEvent(), InternalTestStep(), myTestSystem, and VIEW.

Referenced by buildRedo(), buildUndo(), contextualMenuOperation(), createConnection(), createShape(), leftClickOffset(), mouseClick(), moveElement(), moveElementHorizontal(), and moveElementVertical().

Here is the caller graph for this function:

◆ buildMouseClickEvent()

FXEvent * InternalTestStep::buildMouseClickEvent ( FXSelType  type,
const InternalTest::ViewPosition viewPosition,
const int  offsetX,
const int  offsetY,
const std::string &  keyModifier,
const int  numberOfClicks 
) const
private

build mouse left click press event

Definition at line 2409 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().

Here is the caller graph for this function:

◆ buildMouseDragDrop()

void InternalTestStep::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
private

build mouse dragdrop

Definition at line 2344 of file InternalTestStep.cpp.

References buildMouseClickEvent(), buildMouseMoveEvent(), InternalTestStep(), InternalTest::interpolateViewPositions(), myTestSystem, and VIEW.

Referenced by moveElement(), moveElementHorizontal(), moveElementVertical(), and selectionRectangle().

Here is the caller graph for this function:

◆ buildMouseMoveEvent()

FXEvent * InternalTestStep::buildMouseMoveEvent ( const InternalTest::ViewPosition viewPosition,
const int  offsetX,
const int  offsetY,
const int  clickedButton,
const std::string &  keyModifier,
const int  numberOfClicks 
) const
private

build mouse move event

Definition at line 2373 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().

Here is the caller graph for this function:

◆ buildPressKeyEvent()

void InternalTestStep::buildPressKeyEvent ( Category  category,
const std::string &  key,
const bool  updateView 
) const
private

build a key press and key release (used for tabs, spaces, enter, etc)

Definition at line 2282 of file InternalTestStep.cpp.

References buildKeyPressEvent(), buildKeyReleaseEvent(), InternalTestStep(), myTestSystem, and updateView().

Referenced by changeElement(), changePlan(), contextualMenuOperation(), createDataInterval(), createDataSet(), createShape(), modifyBoolAttribute(), modifyStringAttribute(), modifyVTypeDialogAttribute(), protectElements(), selectAdditionalChild(), selection(), selectNetworkItems(), and typeKey().

Here is the caller graph for this function:

◆ buildRedo()

void InternalTestStep::buildRedo ( const int  number) const
private

process check redo function

Definition at line 2140 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().

Here is the caller graph for this function:

◆ buildTwoPressKeyEvent()

void InternalTestStep::buildTwoPressKeyEvent ( Category  category,
const std::string &  keyA,
const std::string &  keyB,
const bool  updateView 
) const
private

build a two key press and key release (used for tabs, spaces, enter, etc)

Definition at line 2289 of file InternalTestStep.cpp.

References buildKeyPressEvent(), InternalTestStep(), myTestSystem, and updateView().

Referenced by modifyVTypeDialogAttribute().

Here is the caller graph for this function:

◆ buildUndo()

void InternalTestStep::buildUndo ( const int  number) const
private

process check undo function

Definition at line 2119 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().

Here is the caller graph for this function:

◆ changeEditMode()

void InternalTestStep::changeEditMode ( )
private

process changeEditMode function

Definition at line 1213 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().

Here is the caller graph for this function:

◆ changeElement()

void InternalTestStep::changeElement ( ) const
private

process changeElement function

Definition at line 1698 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().

Here is the caller graph for this function:

◆ changeMode()

◆ changePlan()

void InternalTestStep::changePlan ( ) const
private

@bief process changePlan function

Definition at line 1751 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().

Here is the caller graph for this function:

◆ changeSupermode()

void InternalTestStep::changeSupermode ( )
private

process changeSupermode function

Definition at line 1622 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().

Here is the caller graph for this function:

◆ checkBoolArgument()

bool InternalTestStep::checkBoolArgument ( const std::string &  argument) const
private

check bool argument

Definition at line 1973 of file InternalTestStep.cpp.

Referenced by changePlan(), copyTLS(), createCrossing(), createLineShape(), createRectangledShape(), createSquaredShape(), deleteTLS(), resetAllTLSPhases(), and resetSingleTLSPhases().

Here is the caller graph for this function:

◆ checkDoubleParameters()

void InternalTestStep::checkDoubleParameters ( const int  overlappedTabs) const
private

process checkDoubleParameters function

Definition at line 1189 of file InternalTestStep.cpp.

References APP, buildRedo(), buildUndo(), checkIntArgument(), getIntArgument(), modifyStringAttribute(), myArguments, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ checkIntArgument()

◆ checkParameters()

void InternalTestStep::checkParameters ( const int  overlappedTabs) const
private

process checkParameters function

Definition at line 1165 of file InternalTestStep.cpp.

References APP, buildRedo(), buildUndo(), checkIntArgument(), getIntArgument(), modifyStringAttribute(), myArguments, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ checkStringArgument()

bool InternalTestStep::checkStringArgument ( const std::string &  argument) const
private

check string argument

Definition at line 1995 of file InternalTestStep.cpp.

Referenced by changeElement(), changeMode(), changePlan(), changeSupermode(), createDataInterval(), createDataSet(), fixCrossings(), fixRoute(), fixStoppingPlace(), modifyAttribute(), modifyCrossingDefaultValue(), modifyTLSTable(), modifyVTypeDialogAttribute(), saveExistentShortcut(), selection(), and selectNetworkItems().

Here is the caller graph for this function:

◆ checkUndoRedo()

void InternalTestStep::checkUndoRedo ( ) const
private

process check undo-redo function

Definition at line 1328 of file InternalTestStep.cpp.

References buildRedo(), buildUndo(), myArguments, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ computeJunctions()

void InternalTestStep::computeJunctions ( )
private

process computeJunctions function

Definition at line 1793 of file InternalTestStep.cpp.

References APP, MID_HOTKEY_F5_COMPUTE_NETWORK_DEMAND, myArguments, myCategory, myMessageID, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ computeJunctionsVolatileOptions()

void InternalTestStep::computeJunctionsVolatileOptions ( )
private

process computeJunctionsVolatileOptions function

Definition at line 1804 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, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ contextualMenuOperation()

void InternalTestStep::contextualMenuOperation ( ) const
private

process contextualMenuOperation function

Definition at line 645 of file InternalTestStep.cpp.

References APP, buildMouseClick(), buildPressKeyEvent(), InternalTest::getContextualMenuOperations(), InternalTest::getViewPositions(), myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ copyMeanData()

void InternalTestStep::copyMeanData ( )
private

process copyMeanData function

Definition at line 1928 of file InternalTestStep.cpp.

References APP, modifyBoolAttribute(), myArguments, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ copyTLS()

void InternalTestStep::copyTLS ( ) const
private

process Copy TLS function

Definition at line 1008 of file InternalTestStep.cpp.

References APP, checkBoolArgument(), InternalTest::getAttributesEnum(), getBoolArgument(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ createConnection()

void InternalTestStep::createConnection ( const std::string &  keyModifier) const
private

process createConnection function

Definition at line 863 of file InternalTestStep.cpp.

References buildMouseClick(), InternalTest::getViewPositions(), myArguments, myTestSystem, writeClickInfo(), and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ createCrossing()

void InternalTestStep::createCrossing ( ) const
private

process createCrossing function

Definition at line 883 of file InternalTestStep.cpp.

References APP, checkBoolArgument(), InternalTest::getAttributesEnum(), getBoolArgument(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ createDataInterval()

void InternalTestStep::createDataInterval ( ) const
private

process createDataInterval function

Definition at line 1548 of file InternalTestStep.cpp.

References APP, buildPressKeyEvent(), checkStringArgument(), getStringArgument(), InternalTestStep(), MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ createDataSet()

void InternalTestStep::createDataSet ( ) const
private

process createDataSet function

Definition at line 1519 of file InternalTestStep.cpp.

References APP, buildPressKeyEvent(), checkStringArgument(), getStringArgument(), InternalTestStep(), MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ createLineShape()

void InternalTestStep::createLineShape ( )
private

process createLineShape function

Definition at line 1889 of file InternalTestStep.cpp.

References checkBoolArgument(), checkIntArgument(), createShape(), getBoolArgument(), getIntArgument(), InternalTest::getViewPositions(), myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ createMeanData()

void InternalTestStep::createMeanData ( )
private

process createMeanData function

Definition at line 1908 of file InternalTestStep.cpp.

References APP, modifyBoolAttribute(), myArguments, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ createRectangledShape()

void InternalTestStep::createRectangledShape ( )
private

process createRectangledShape function

Definition at line 1852 of file InternalTestStep.cpp.

References checkBoolArgument(), checkIntArgument(), createShape(), getBoolArgument(), getIntArgument(), InternalTest::getViewPositions(), myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ createShape()

void InternalTestStep::createShape ( const InternalTest::ViewPosition viewPosition,
const int  sizeX,
const int  sizeY,
const bool  close,
const bool  line 
) const
private

create shape

Definition at line 2046 of file InternalTestStep.cpp.

References APP, buildMouseClick(), buildPressKeyEvent(), InternalTestStep(), MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, myTestSystem, and writeClickInfo().

Referenced by createLineShape(), createRectangledShape(), and createSquaredShape().

Here is the caller graph for this function:

◆ createSquaredShape()

void InternalTestStep::createSquaredShape ( )
private

process createSquaredShape function

Definition at line 1871 of file InternalTestStep.cpp.

References checkBoolArgument(), checkIntArgument(), createShape(), getBoolArgument(), getIntArgument(), InternalTest::getViewPositions(), myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ createTLS()

void InternalTestStep::createTLS ( const int  overlappedTabs) const
private

process createTLS function

Definition at line 998 of file InternalTestStep.cpp.

References APP, InternalTest::getAttributesEnum(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ crossingClearEdges()

void InternalTestStep::crossingClearEdges ( ) const
private

process crossingClearEdges function

Definition at line 920 of file InternalTestStep.cpp.

References APP, InternalTest::getAttributesEnum(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ crossingInvertEdges()

void InternalTestStep::crossingInvertEdges ( ) const
private

process crossingInvertEdges function

Definition at line 930 of file InternalTestStep.cpp.

References APP, InternalTest::getAttributesEnum(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ deleteFunction()

void InternalTestStep::deleteFunction ( ) const
private

process delete function

Definition at line 1340 of file InternalTestStep.cpp.

References APP, InternalTestStep(), MID_HOTKEY_DEL, myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ deleteMeanData()

void InternalTestStep::deleteMeanData ( )
private

process deleteMeanData function

Definition at line 1918 of file InternalTestStep.cpp.

References APP, modifyBoolAttribute(), myArguments, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ deleteTLS()

void InternalTestStep::deleteTLS ( ) const
private

process delete TLS function

Definition at line 1042 of file InternalTestStep.cpp.

References APP, checkBoolArgument(), InternalTest::getAttributesEnum(), getBoolArgument(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ disJoinTLS()

void InternalTestStep::disJoinTLS ( ) const
private

process disJoin TLS function

Definition at line 1032 of file InternalTestStep.cpp.

References APP, InternalTest::getAttributesEnum(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ fixCrossings()

void InternalTestStep::fixCrossings ( )
private

process fixCrossings function

Definition at line 950 of file InternalTestStep.cpp.

References InternalTestStep::DialogArgument::ACCEPT, APP, checkStringArgument(), getStringArgument(), InternalTestStep(), MID_HOTKEY_CTRL_SHIFT_E_SAVENETEDITCONFIG, myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ fixRoute()

void InternalTestStep::fixRoute ( )
private

process fixRoutes function

Definition at line 982 of file InternalTestStep.cpp.

References InternalTestStep::DialogArgument::ACCEPT, APP, checkStringArgument(), getStringArgument(), InternalTestStep(), MID_HOTKEY_CTRL_SHIFT_E_SAVENETEDITCONFIG, myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ fixStoppingPlace()

void InternalTestStep::fixStoppingPlace ( )
private

process fixStoppingPlace function

Definition at line 966 of file InternalTestStep.cpp.

References InternalTestStep::DialogArgument::ACCEPT, APP, checkStringArgument(), getStringArgument(), InternalTestStep(), MID_HOTKEY_CTRL_SHIFT_E_SAVENETEDITCONFIG, myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ getBoolArgument()

bool InternalTestStep::getBoolArgument ( const std::string &  argument) const
private

get bool argument

Definition at line 1985 of file InternalTestStep.cpp.

Referenced by changePlan(), copyTLS(), createCrossing(), createLineShape(), createRectangledShape(), createSquaredShape(), deleteTLS(), resetAllTLSPhases(), and resetSingleTLSPhases().

Here is the caller graph for this function:

◆ getCategory()

InternalTestStep::Category InternalTestStep::getCategory ( ) const

get category

Definition at line 425 of file InternalTestStep.cpp.

References myCategory.

◆ getDescription()

const std::string & InternalTestStep::getDescription ( ) const

get description

Definition at line 437 of file InternalTestStep.cpp.

References myDescription.

◆ getDialogArgument()

InternalTestStep::DialogArgument * InternalTestStep::getDialogArgument ( ) const

get dialog argument

Definition at line 401 of file InternalTestStep.cpp.

References myDialogArgument.

◆ getEvent()

void * InternalTestStep::getEvent ( ) const

get event associated with this step

Definition at line 431 of file InternalTestStep.cpp.

References myEvent.

◆ getIntArgument()

◆ getMessageID()

FXSelector InternalTestStep::getMessageID ( ) const

get message ID

Definition at line 395 of file InternalTestStep.cpp.

References myMessageID.

◆ getMessageType()

FXSelector InternalTestStep::getMessageType ( ) const

get message type

Definition at line 389 of file InternalTestStep.cpp.

References myMessageType.

◆ getNextStep()

InternalTestStep * InternalTestStep::getNextStep ( ) const

get next step

Definition at line 377 of file InternalTestStep.cpp.

References myNextStep.

Referenced by InternalTest::setNextStep(), and InternalTest::~InternalTest().

Here is the caller graph for this function:

◆ getSelector()

FXSelector InternalTestStep::getSelector ( ) const

get selector (based in messageType and messageID)

Definition at line 413 of file InternalTestStep.cpp.

References myMessageID, and myMessageType.

◆ getStringArgument()

std::string InternalTestStep::getStringArgument ( const std::string &  argument) const
private

get string argument

Definition at line 2007 of file InternalTestStep.cpp.

Referenced by changeElement(), changeMode(), changePlan(), changeSupermode(), computeJunctionsVolatileOptions(), createDataInterval(), createDataSet(), fixCrossings(), fixRoute(), fixStoppingPlace(), modifyAttribute(), modifyCrossingDefaultValue(), modifyTLSTable(), modifyVTypeDialogAttribute(), saveExistentShortcut(), selection(), selectNetworkItems(), and typeKey().

Here is the caller graph for this function:

◆ getTLSTableTest()

InternalTestStep::TLSTableTest * InternalTestStep::getTLSTableTest ( ) const

get TLS Table test

Definition at line 407 of file InternalTestStep.cpp.

References myTLSTableTest.

◆ joinTSL()

void InternalTestStep::joinTSL ( ) const
private

process join TLS function

Definition at line 1022 of file InternalTestStep.cpp.

References APP, InternalTest::getAttributesEnum(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ leftClickOffset()

void InternalTestStep::leftClickOffset ( const std::string &  button) const
private

process click function

Definition at line 553 of file InternalTestStep.cpp.

References buildMouseClick(), checkIntArgument(), getIntArgument(), InternalTest::getViewPositions(), myArguments, myTestSystem, writeClickInfo(), and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ lockSelection()

◆ modifyAttribute()

void InternalTestStep::modifyAttribute ( const int  overlappedTabs) const
private

process modifyAttribute function

Definition at line 711 of file InternalTestStep.cpp.

References APP, checkIntArgument(), checkStringArgument(), getIntArgument(), getStringArgument(), modifyStringAttribute(), myArguments, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ modifyBoolAttribute() [1/2]

void InternalTestStep::modifyBoolAttribute ( Category  category,
const int  tabs,
const int  overlappedTabs 
) const
private

modify bool attribute

Definition at line 2106 of file InternalTestStep.cpp.

References buildPressKeyEvent(), InternalTestStep(), MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, and myTestSystem.

◆ modifyBoolAttribute() [2/2]

void InternalTestStep::modifyBoolAttribute ( const int  overlappedTabs) const
private

◆ modifyColorAttribute()

void InternalTestStep::modifyColorAttribute ( const int  overlappedTabs) const
private

process modifyColorAttribute function

Definition at line 734 of file InternalTestStep.cpp.

References InternalTestStep::DialogArgument::ACCEPT, APP, checkIntArgument(), getIntArgument(), InternalTestStep(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ modifyCrossingDefaultBoolValue()

void InternalTestStep::modifyCrossingDefaultBoolValue ( ) const
private

process modifyCrossingDefaultBoolValue function

Definition at line 909 of file InternalTestStep.cpp.

References APP, checkIntArgument(), InternalTest::getAttributesEnum(), getIntArgument(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ modifyCrossingDefaultValue()

void InternalTestStep::modifyCrossingDefaultValue ( ) const
private

process modifyCrossingDefaultValue function

Definition at line 897 of file InternalTestStep.cpp.

References APP, checkIntArgument(), checkStringArgument(), InternalTest::getAttributesEnum(), getIntArgument(), getStringArgument(), modifyStringAttribute(), myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ modifyStringAttribute()

void InternalTestStep::modifyStringAttribute ( Category  category,
const int  tabs,
const int  overlappedTabs,
const std::string &  value 
) const
private

modify attribute

Definition at line 2083 of file InternalTestStep.cpp.

References buildPressKeyEvent(), InternalTestStep(), MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, and myTestSystem.

Referenced by checkDoubleParameters(), checkParameters(), modifyAttribute(), and modifyCrossingDefaultValue().

Here is the caller graph for this function:

◆ modifyTLSTable()

void InternalTestStep::modifyTLSTable ( )
private

process modifyTLSTable function

Definition at line 1056 of file InternalTestStep.cpp.

References checkIntArgument(), checkStringArgument(), getIntArgument(), getStringArgument(), MID_GNE_TLSTABLE_TEXTFIELD, myArguments, myCategory, myTLSTableTest, TLS_PHASETABLE, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ modifyVClassDialog_Cancel()

void InternalTestStep::modifyVClassDialog_Cancel ( const int  overlappedTabs) const
private

process modifyVClassDialog_Cancel function

Definition at line 783 of file InternalTestStep.cpp.

References APP, InternalTestStep::DialogArgument::CANCEL, checkIntArgument(), getIntArgument(), InternalTestStep(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ modifyVClassDialog_DisallowAll()

void InternalTestStep::modifyVClassDialog_DisallowAll ( const int  overlappedTabs) const
private

process modifyVClassDialog_DisallowAll function

Definition at line 765 of file InternalTestStep.cpp.

References InternalTestStep::DialogArgument::ACCEPT, APP, checkIntArgument(), getIntArgument(), InternalTestStep(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ modifyVClassDialog_NoDisallowAll()

void InternalTestStep::modifyVClassDialog_NoDisallowAll ( const int  overlappedTabs) const
private

process modifyVClassDialog_DisallowAll function

Definition at line 749 of file InternalTestStep.cpp.

References InternalTestStep::DialogArgument::ACCEPT, APP, checkIntArgument(), getIntArgument(), InternalTestStep(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ modifyVClassDialog_Reset()

void InternalTestStep::modifyVClassDialog_Reset ( const int  overlappedTabs) const
private

process modifyVClassDialog_Reset function

Definition at line 802 of file InternalTestStep.cpp.

References InternalTestStep::DialogArgument::ACCEPT, APP, checkIntArgument(), getIntArgument(), InternalTestStep(), modifyBoolAttribute(), myArguments, myTestSystem, InternalTestStep::DialogArgument::RESET, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ modifyVTypeDialogAttribute()

void InternalTestStep::modifyVTypeDialogAttribute ( ) const
private

process modifyVTypeDialogAttribute function

Definition at line 822 of file InternalTestStep.cpp.

References APP, buildPressKeyEvent(), buildTwoPressKeyEvent(), checkIntArgument(), checkStringArgument(), DIALOG, InternalTest::getAttributesEnum(), getIntArgument(), getStringArgument(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ mouseClick()

void InternalTestStep::mouseClick ( const std::string &  button,
const std::string &  modifier 
) const
private

process click function

Definition at line 538 of file InternalTestStep.cpp.

References buildMouseClick(), InternalTest::getViewPositions(), myArguments, myTestSystem, writeClickInfo(), and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ moveElement()

void InternalTestStep::moveElement ( ) const
private

process moveElement function

Definition at line 613 of file InternalTestStep.cpp.

References buildMouseClick(), buildMouseDragDrop(), InternalTest::getMovements(), InternalTest::getViewPositions(), myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ moveElementHorizontal()

void InternalTestStep::moveElementHorizontal ( ) const
private

process moveElementHorizontal function

Definition at line 571 of file InternalTestStep.cpp.

References buildMouseClick(), buildMouseDragDrop(), InternalTest::getMovements(), InternalTest::getViewPositions(), myArguments, myTestSystem, writeClickInfo(), and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ moveElementVertical()

void InternalTestStep::moveElementVertical ( ) const
private

process moveElementVertical function

Definition at line 592 of file InternalTestStep.cpp.

References buildMouseClick(), buildMouseDragDrop(), InternalTest::getMovements(), InternalTest::getViewPositions(), myArguments, myTestSystem, writeClickInfo(), and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ openAboutDialog()

void InternalTestStep::openAboutDialog ( )
private

process openAboutDialog function

Definition at line 1587 of file InternalTestStep.cpp.

References InternalTestStep::DialogArgument::ACCEPT, APP, InternalTestStep(), MID_HOTKEY_F12_ABOUT, myArguments, myCategory, myMessageID, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ operator=()

InternalTestStep & InternalTestStep::operator= ( const InternalTestStep )
privatedelete

Invalidated assignment operator.

◆ parseArguments()

void InternalTestStep::parseArguments ( const std::string &  arguments)
private

parse arguments

Definition at line 487 of file InternalTestStep.cpp.

References myArguments, and writeError().

Referenced by parseStep().

Here is the caller graph for this function:

◆ parseStep()

std::string InternalTestStep::parseStep ( const std::string &  rowText)
private

parse function and arguments

Definition at line 443 of file InternalTestStep.cpp.

References parseArguments(), and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ pressTLSButton()

void InternalTestStep::pressTLSButton ( const std::string &  type)
private

process pressTLSButton function

Definition at line 1145 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().

Here is the caller graph for this function:

◆ pressTLSPhaseButton()

void InternalTestStep::pressTLSPhaseButton ( ) const
private

process pressTLSPhaseButton function

Definition at line 1103 of file InternalTestStep.cpp.

References checkIntArgument(), getIntArgument(), modifyBoolAttribute(), myArguments, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ protectElements()

void InternalTestStep::protectElements ( ) const
private

process protect elements function

Definition at line 682 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().

Here is the caller graph for this function:

◆ quit()

void InternalTestStep::quit ( )
private

process quit function

Definition at line 1938 of file InternalTestStep.cpp.

References APP, MID_HOTKEY_CTRL_Q_CLOSE, myArguments, myCategory, myMessageID, myUpdateView, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ redo()

void InternalTestStep::redo ( ) const
private

process redo function

Definition at line 1611 of file InternalTestStep.cpp.

References buildRedo(), checkIntArgument(), getIntArgument(), myArguments, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ resetAllTLSPhases()

void InternalTestStep::resetAllTLSPhases ( ) const
private

process resetAllTLSPhases function

Definition at line 1089 of file InternalTestStep.cpp.

References checkBoolArgument(), InternalTest::getAttributesEnum(), getBoolArgument(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ resetSingleTLSPhases()

void InternalTestStep::resetSingleTLSPhases ( ) const
private

process resetSingleTLSPhases function

Definition at line 1075 of file InternalTestStep.cpp.

References checkBoolArgument(), InternalTest::getAttributesEnum(), getBoolArgument(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ saveConnectionEdit()

void InternalTestStep::saveConnectionEdit ( ) const
private

process createConnectionEdit function

Definition at line 940 of file InternalTestStep.cpp.

References APP, InternalTest::getAttributesEnum(), modifyBoolAttribute(), myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ saveExistentShortcut()

void InternalTestStep::saveExistentShortcut ( )
private

◆ selectAdditionalChild()

void InternalTestStep::selectAdditionalChild ( )
private

process selectChild function

Definition at line 1825 of file InternalTestStep.cpp.

References APP, buildPressKeyEvent(), checkIntArgument(), getIntArgument(), InternalTestStep(), MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ selection()

void InternalTestStep::selection ( ) const
private

process selection function

Definition at line 1350 of file InternalTestStep.cpp.

References APP, buildPressKeyEvent(), checkStringArgument(), InternalTest::getAttributesEnum(), getStringArgument(), InternalTestStep(), MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ selectionRectangle()

void InternalTestStep::selectionRectangle ( ) const
private

process selectionRectangle function

Definition at line 1502 of file InternalTestStep.cpp.

References APP, buildMouseDragDrop(), InternalTest::getViewPositions(), InternalTestStep(), MID_HOTKEY_S_MODE_STOPSIMULATION_SELECT, myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ selectNetworkItems()

void InternalTestStep::selectNetworkItems ( ) const
private

process selectNetworkItems function

Definition at line 1400 of file InternalTestStep.cpp.

References APP, buildPressKeyEvent(), checkStringArgument(), InternalTest::getAttributesEnum(), getStringArgument(), InternalTestStep(), MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, myArguments, myTestSystem, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ setNextStep()

void InternalTestStep::setNextStep ( InternalTestStep nextStep)

set next step

Definition at line 383 of file InternalTestStep.cpp.

References myNextStep.

Referenced by InternalTest::addTestSteps().

Here is the caller graph for this function:

◆ setupAndStart()

void InternalTestStep::setupAndStart ( )
private

process setupAndStart function

Definition at line 524 of file InternalTestStep.cpp.

References INIT, MOUSE_REFERENCE_X, MOUSE_REFERENCE_Y, myCategory, myTestSystem, toString(), and InternalTest::updateLastMovedPosition().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ stripSpaces()

std::string InternalTestStep::stripSpaces ( const std::string &  str) const
private

strip spaces

Definition at line 2017 of file InternalTestStep.cpp.

Referenced by writeError().

Here is the caller graph for this function:

◆ translateKey()

std::pair< FXint, FXString > InternalTestStep::translateKey ( const std::string &  key) const
private

translate key

Definition at line 2161 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().

Here is the caller graph for this function:

◆ typeKey()

void InternalTestStep::typeKey ( ) const
private

process typeKey function

Definition at line 635 of file InternalTestStep.cpp.

References APP, buildPressKeyEvent(), getStringArgument(), myArguments, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ undo()

void InternalTestStep::undo ( ) const
private

process undo function

Definition at line 1600 of file InternalTestStep.cpp.

References buildUndo(), checkIntArgument(), getIntArgument(), myArguments, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ updateView()

bool InternalTestStep::updateView ( ) const

check if update view

Definition at line 419 of file InternalTestStep.cpp.

References myUpdateView.

Referenced by buildPressKeyEvent(), and buildTwoPressKeyEvent().

Here is the caller graph for this function:

◆ waitDeleteWarning()

void InternalTestStep::waitDeleteWarning ( ) const
private

process waitDeleteWarning function

Definition at line 701 of file InternalTestStep.cpp.

References myArguments, and writeError().

Referenced by InternalTestStep().

Here is the caller graph for this function:

◆ writeClickInfo()

void InternalTestStep::writeClickInfo ( const InternalTest::ViewPosition viewPosition,
const int  offsetX,
const int  offsetY,
const std::string  modifier 
) const
private

write click info

Definition at line 2453 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().

Here is the caller graph for this function:

◆ writeError()

void InternalTestStep::writeError ( const std::string &  function,
const int  overlapping,
const std::string &  expected 
) const
private

write error

Definition at line 2029 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(), openAboutDialog(), parseArguments(), parseStep(), pressTLSButton(), pressTLSPhaseButton(), protectElements(), quit(), redo(), resetAllTLSPhases(), resetSingleTLSPhases(), saveConnectionEdit(), saveExistentShortcut(), selectAdditionalChild(), selection(), selectionRectangle(), selectNetworkItems(), translateKey(), typeKey(), undo(), and waitDeleteWarning().

Field Documentation

◆ myArguments

std::vector<std::string> InternalTestStep::myArguments
private

◆ myCategory

◆ myDescription

std::string InternalTestStep::myDescription
private

description

Definition at line 211 of file InternalTestStep.h.

Referenced by changeMode(), getDescription(), and InternalTestStep().

◆ myDialogArgument

DialogArgument* InternalTestStep::myDialogArgument = nullptr
private

dialog argument

Definition at line 220 of file InternalTestStep.h.

Referenced by getDialogArgument(), and ~InternalTestStep().

◆ myEvent

FXEvent* InternalTestStep::myEvent = nullptr
private

list of events associated with this step

Definition at line 217 of file InternalTestStep.h.

Referenced by getEvent(), and ~InternalTestStep().

◆ myMessageID

◆ myMessageType

FXSelector InternalTestStep::myMessageType = SEL_COMMAND
private

message type (by default SEL_COMMAND)

Definition at line 199 of file InternalTestStep.h.

Referenced by getMessageType(), and getSelector().

◆ myNextStep

InternalTestStep* InternalTestStep::myNextStep = nullptr
private

next step in the test

Definition at line 196 of file InternalTestStep.h.

Referenced by getNextStep(), and setNextStep().

◆ myTestSystem

◆ myTLSTableTest

TLSTableTest* InternalTestStep::myTLSTableTest = nullptr
private

TLS Table test.

Definition at line 223 of file InternalTestStep.h.

Referenced by addPhase(), getTLSTableTest(), modifyTLSTable(), and ~InternalTestStep().

◆ myUpdateView

bool InternalTestStep::myUpdateView = false
private

flag to enable or disable view after execute step

Definition at line 208 of file InternalTestStep.h.

Referenced by changeMode(), quit(), and updateView().


The documentation for this class was generated from the following files: