| java.lang.Object org.eclipse.ui.testing.TestableObject org.eclipse.ui.internal.testing.WorkbenchTestable
WorkbenchTestable | public class WorkbenchTestable extends TestableObject (Code) | | The Workbench's testable object facade to a test harness.
since: 3.0 |
Constructor Summary | |
public | WorkbenchTestable() Constructs a new workbench testable object. |
Method Summary | |
public void | init(Display display, IWorkbench workbench) Initializes the workbench testable with the display and workbench,
and notifies all listeners that the tests can be run. | public void | runTest(Runnable testRunnable) The WorkbenchTestable implementation of this
TestableObject method flushes the event queue,
runs the test in a syncExec , then flushes the
event queue again. | public void | testingFinished() The WorkbenchTestable implementation of this
TestableObject method flushes the event queue,
then closes the workbench. | public void | testingStarting() The WorkbenchTestable implementation of this
TestableObject method ensures that the workbench
has been set. |
WorkbenchTestable | public WorkbenchTestable()(Code) | | Constructs a new workbench testable object.
|
init | public void init(Display display, IWorkbench workbench)(Code) | | Initializes the workbench testable with the display and workbench,
and notifies all listeners that the tests can be run.
Parameters: display - the display Parameters: workbench - the workbench |
runTest | public void runTest(Runnable testRunnable)(Code) | | The WorkbenchTestable implementation of this
TestableObject method flushes the event queue,
runs the test in a syncExec , then flushes the
event queue again.
|
testingFinished | public void testingFinished()(Code) | | The WorkbenchTestable implementation of this
TestableObject method flushes the event queue,
then closes the workbench.
|
testingStarting | public void testingStarting()(Code) | | The WorkbenchTestable implementation of this
TestableObject method ensures that the workbench
has been set.
|
|
|