public class VTControllerTester extends Object
Constructor and Description |
---|
VTControllerTester(TestableWindowController controller)
Create a UI testing robot, given a TestableWindowController.
|
Modifier and Type | Method and Description |
---|---|
void |
actionClick(objectdraw.Location loc)
Simulates a click on loc.
|
void |
actionMouseMove(objectdraw.Location loc)
Simulates the mouse moving towards loc.
|
void |
actionMousePress(objectdraw.Location loc)
Simulates a mouse press on the app.
|
void |
actionMouseRelease()
Simulates the mouse being released.
|
public VTControllerTester(TestableWindowController controller)
controller
- the component to be tested.public void actionClick(objectdraw.Location loc)
loc
- the Location in the canvas where the mouse is clicked.public void actionMouseMove(objectdraw.Location loc)
loc
- the location the move is moving to.public void actionMousePress(objectdraw.Location loc)
loc
- the location where the mouse is pressed.public void actionMouseRelease()