Method Summary |
|
public Assertion | and(Assertion assertion1, Assertion assertion2) Returns the intersection of two assertions. |
public Assertion | and(Assertion[] assertions) Returns the intersection of two assertions. |
public void | assertEquals(boolean expected, Assertion assertion) Checks that the given assertion equals the expected parameter. |
public void | assertEquals(String message, boolean expected, Assertion assertion) Checks that the given assertion equals the expected parameter. |
public void | assertFalse(Assertion assertion) Checks that the given assertion fails. |
public void | assertFalse(String message, Assertion assertion) Checks that the given assertion fails. |
public void | assertTrue(Assertion assertion) Checks the given assertion. |
public void | assertTrue(String message, Assertion assertion) Checks the given assertion. |
public Window | getMainWindow() Returns the Window created by the adapter. |
public Assertion | not(Assertion assertion) Returns a negation of the given assertion. |
public Assertion | or(Assertion assertion1, Assertion assertion2) Returns the union of two assertions. |
public Assertion | or(Assertion[] assertions) Returns the union of two assertions. |
public void | setAdapter(UISpecAdapter adapter) |
protected void | setUp() Initializes the resources needed by the test case.
NB: If you provide your own implementation, do not forget to call this one first. |
protected void | tearDown() Checks whether an unexpected exception had occurred, and releases the test resources. |
public void | waitUntil(Assertion assertion, long waitTimeLimit) Waits for at most 'waitTimeLimit' ms until the assertion is true. |
public void | waitUntil(String message, Assertion assertion, long waitTimeLimit) Waits for at most 'waitTimeLimit' ms until the assertion is true. |