public abstract class GooeyDisplayable<T>
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
GooeyDisplayable(java.lang.String noWindowMessage) |
| Modifier and Type | Method and Description |
|---|---|
void |
capture()
This method calls the code displaying a window, waits for the window to display (within a timeout period) and calls
the method to test this window.
|
protected abstract void |
close(T window) |
protected abstract T |
getTarget() |
protected long |
getTimeout() |
abstract void |
invoke() |
protected abstract void |
setEnableCapture(boolean on) |
abstract void |
test(T window) |
public abstract void invoke()
public abstract void test(T window)
protected abstract void close(T window)
protected abstract void setEnableCapture(boolean on)
protected abstract T getTarget()
protected long getTimeout()
public final void capture()
invoke
(calls the code to display a window) and test (calls the code to test the window).
If no window is detected within a waiting period the method throws an AssertionError.java.lang.AssertionError - if no window is displayed.