|
Squirt 3.21
|
Abstract class to test shapes in a panel. More...
Public Member Functions | |
| public int | assertAttributes (const mapping &referenceAttributes, dyn_string &fails) |
| Checks whether current shape attributes match reference attributes. More... | |
| public string | toString () |
| Returns a readable shape identifier for logs and assertions. More... | |
| public void | showAttention (const string &state) |
| Shows a temporary visual attention marker for the test shape. More... | |
| public mapping | getCurrentAttributes ()=0 |
| Returns the current attributes of the wrapped shape. More... | |
Protected Attributes | |
| protected shape | testShape |
| Holder to real shape. | |
Abstract class to test shapes in a panel.
| public int GuiTestShape::assertAttributes | ( | const mapping & | referenceAttributes, |
| dyn_string & | fails | ||
| ) |
Checks whether current shape attributes match reference attributes.
| referenceAttributes | Expected shape attributes. |
| fails | Collected mismatch messages. |
|
pure virtual |
Returns the current attributes of the wrapped shape.
Implemented in GuiTestArc, GuiTestCascadeButton, GuiTestCheckBox, GuiTestClock, GuiTestComboBox, GuiTestDpTree, GuiTestDpType, GuiTestEllipse, GuiTestEmbeddedModule, GuiTestFrame, GuiTestGeneric, GuiTestLabel, GuiTestLcd, GuiTestLine, GuiTestPipe, GuiTestPolygon, GuiTestPrimitiveText, GuiTestProgressBar, GuiTestPushButton, GuiTestRadioBox, GuiTestRectangle, GuiTestSelectionList, GuiTestSlider, GuiTestSpinButton, GuiTestTab, GuiTestTable, GuiTestThumbWheel, GuiTestTree, GuiTestTrend, and GuiTestZoomNavigator.
| public void GuiTestShape::showAttention | ( | const string & | state | ) |
Shows a temporary visual attention marker for the test shape.
| state | Visual state indicator, e.g. OK or FAIL. |
| public string GuiTestShape::toString | ( | ) |
Returns a readable shape identifier for logs and assertions.