60 static const FXuint
yes = 1;
63 static const FXuint
no = 2;
66 static const FXuint
esc = 4;
93 TLSTableTest(FXSelector sel_,
const int row_,
const int column_,
const std::string& text_);
96 const FXSelector
sel = 0;
120 Category category,
const std::string description);
124 FXEvent* event,
const bool updateView,
const std::string description);
200 std::string
parseStep(
const std::string& rowText);
209 void mouseClick(
const std::string& button,
const std::string& modifier)
const;
290 void createTLS(
const int overlappedTabs)
const;
317 void addPhase(
const std::string& type);
425 std::string
stripSpaces(
const std::string& str)
const;
428 void writeError(
const std::string& function,
const int overlapping,
429 const std::string& expected)
const;
433 const int sizeX,
const int sizeY,
const bool close,
434 const bool line)
const;
440 void modifyStringAttribute(
const int tabs,
const int overlappedTabs,
const std::string& value)
const;
462 std::pair<FXint, FXString>
translateKey(
const std::string& key)
const;
489 const int offsetX,
const int offsetY,
490 const std::string& button,
const std::string& keyModifier)
const;
494 const int offsetStartX,
const int offsetStartY,
496 const int offsetEndX,
const int offsetEndY,
497 const std::string& keyModifier)
const;
501 const int offsetX,
const int offsetY,
const int clickedButton,
502 const std::string& keyModifier,
const int numberOfClicks)
const;
506 const int offsetX,
const int offsetY,
const std::string& keyModifier,
507 const int numberOfClicks)
const;
511 const int offsetX,
const int offsetY,
512 const std::string modifier)
const;
dialog arguments (used for certain functions that opens modal dialogs)
static const FXuint esc
ESC or cancel value.
DialogTest(const DialogTest &)=delete
invalidated copy constructor
static const FXuint no
no value
DialogTest()=delete
invalidated default constructor
const std::string fixSolution
solution for fix dialogs
static const std::string colorValue
color dialog value
static const FXuint yes
yes value
const std::vector< FXuint > questionDialogValues
used if we have multiple modal dialogs
struct used for test TLS Tables
const int row
x coordinate
TLSTableTest(const TLSTableTest &)=delete
invalidated copy constructor
const FXSelector sel
selector
TLSTableTest()=delete
invalidated default constructor
const std::string text
text
const int column
y coordinate
void modifyStringAttribute(const int tabs, const int overlappedTabs, const std::string &value) const
modify attribute
void changeSupermode()
process supermode function
DialogTest * getDialogTest() const
get dialog arguments
const std::string & getDescription() const
get description
void contextualMenuOperation() const
process contextualMenuOperation function
FXEvent * buildKeyPressEvent(const std::string &key) const
build key press event
std::pair< FXint, FXString > translateKey(const std::string &key) const
translate key
void modifyVTypeDialogAttribute() const
process modifyVTypeDialogAttribute function
void createSquaredShape()
process create squared shape function
void * getEvent() const
get event associated with this step
std::string stripSpaces(const std::string &str) const
strip spaces
void fixStoppingPlace()
process fixStoppingPlace function
void modifyVClassDialog_DisallowAll(const int overlappedTabs) const
process modifyVClassDialog_DisallowAll function
Category myCategory
step category
void joinTSL() const
process join TLS function
void modifyCrossingDefaultBoolValue() const
process modifyCrossingDefaultBoolValue function
FXEvent * myEvent
list of events associated with this step
void modifyVClassDialog_Reset(const int overlappedTabs) const
process modifyVClassDialog_Reset function
InternalTestStep()=delete
invalidate default constructor
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
void disJoinTLS() const
process disJoin TLS function
void lockSelection() const
process lockSelection function
void modifyTLSTable()
process modifyTLSTable function
std::string getStringArgument(const std::string &argument) const
get string argument
InternalTestStep(const InternalTestStep &)=delete
Invalidated copy constructor.
std::string myDescription
description
void setupAndStart()
process setupAndStart function
void crossingInvertEdges() const
process crossingInvertEdges function
void resetSingleTLSPhases() const
process resetSingleTLSPhases function
DialogTest * myDialogTest
dialog test
void checkParameters(const int overlappedTabs) const
process checkParameters function
void selection() const
process selection function
void pressTLSButton(const std::string &type)
process pressTLSButton function
const std::vector< const InternalTestStep * > & getModalDialogTestSteps() const
get key events used in certain dialogs (allowDialog, etc.)
void resetAllTLSPhases() const
process resetAllTLSPhases function
void selectAdditionalChild()
create rectangle shape
FXSelector getSelector() const
get selector (based in messageType and messageID)
void buildTwoPressKeyEvent(const std::string &keyA, const std::string &keyB, const bool updateView) const
build a two key press and key release (used for tabs, spaces, enter, etc)
void buildRedo(const int number) const
process check redo function
void undo() const
process check undo function
void moveElementVertical() const
process moveElementVertical function
void modifyColorAttribute(const int overlappedTabs) const
process modifyColorAttribute function
bool getBoolArgument(const std::string &argument) const
get bool argument
bool updateView() const
check if update view
void protectElements() const
process protect elements function
void createCrossing() const
process createCrossing function
void checkDoubleParameters(const int overlappedTabs) const
process checkDoubleParameters function
void modifyBoolAttribute(const int overlappedTabs) const
process modifyBoolAttribute function
void addPhase(const std::string &type)
process addPhase function
void mouseClick(const std::string &button, const std::string &modifier) const
process click function
void checkUndoRedo() const
process check undo-redo function
InternalTestStep & operator=(const InternalTestStep &)=delete
Invalidated assignment operator.
void crossingClearEdges() const
process crossingClearEdges function
bool checkBoolArgument(const std::string &argument) const
check bool argument
std::string parseStep(const std::string &rowText)
parse function and arguments
void modifyVClassDialog_NoDisallowAll(const int overlappedTabs) const
process modifyVClassDialog_DisallowAll function
void copyMeanData()
process copyMeanData function
void deleteTLS() const
process delete TLS function
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 buildPressKeyEvent(const std::string &key, const bool updateView) const
build a key press and key release (used for tabs, spaces, enter, etc)
InternalTest * myTestSystem
test system parent
void createShape(const InternalTest::ViewPosition &viewPosition, const int sizeX, const int sizeY, const bool close, const bool line) const
create shape
void saveConnectionEdit() const
process createConnectionEdit function
TLSTableTest * myTLSTableTest
TLS Table test.
void createTLS(const int overlappedTabs) const
process createTLS function
void modifyAttribute(const int overlappedTabs) const
process modifyAttribute function
void selectNetworkItems() const
process selectNetworkItems function
bool checkIntArgument(const std::string &argument) const
check int argument
void copyTLS() const
process Copy TLS function
void writeClickInfo(const InternalTest::ViewPosition &viewPosition, const int offsetX, const int offsetY, const std::string modifier) const
write click info
void changeEditMode()
process changeEditMode function
void createDataSet() const
process createDataSet function
void createMeanData()
process createMeanData function
void waitDeleteWarning() const
process waitDeleteWarning function
void createConnection(const std::string &keyModifier) const
process createConnection function
FXSelector myMessageID
message ID
TLSTableTest * getTLSTableTest() const
get TLS Table test
FXSelector getMessageID() const
get message ID
void createDataInterval() const
process createDataInterval function
void buildUndo(const int number) const
process check undo function
void moveElementHorizontal() const
process moveElementHorizontal function
void computeJunctions()
process compute junctions function
bool myUpdateView
flag to enable or disable view after execute step
void pressTLSPhaseButton() const
process pressTLSPhaseButton function
void parseArguments(const std::string &arguments)
parse arguments
void quit()
process quit function
void changeElement() const
process change element function
std::vector< const InternalTestStep * > myDialogTestSteps
Test steps used in dialog test.
void deleteMeanData()
process deleteMeanData function
void changeMode()
process change mode function
bool checkStringArgument(const std::string &argument) const
check string argument
~InternalTestStep()
destructor
void changePlan() const
@bief process change plan function
void redo() const
process check redo function
void fixCrossings()
process fixCrossings function
FXSelector myMessageType
message type (by default SEL_COMMAND)
void createRectangledShape()
process create rectangle shape function
void createLineShape()
process create line shape function
void saveExistentShortcut()
process save function
void typeKey() const
process typeKey function
std::vector< std::string > myArguments
arguments
void writeError(const std::string &function, const int overlapping, const std::string &expected) const
write error
Category getCategory() const
get category
void fixRoute()
process fixRoutes function
void selectionRectangle() const
process selectionRectangle function
void leftClickOffset(const std::string &button) const
process click function
void computeJunctionsVolatileOptions()
process compute junctions with volatile options function
void modifyVClassDialog_Cancel(const int overlappedTabs) const
process modifyVClassDialog_Cancel function
void moveElement() const
process moveElement function
int getIntArgument(const std::string &argument) const
get int argument
FXEvent * buildKeyReleaseEvent(const std::string &key) const
build key release event
FXSelector getMessageType() const
get message type
void deleteFunction() const
process delete function
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
void modifyCrossingDefaultValue() const
process modifyCrossingDefaultValue function
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