public class TestableObject extends Object
The workbench provides an implementation of this facade, available
via PlatformUI.getTestableObject()
.
Constructor and Description |
---|
TestableObject() |
Modifier and Type | Method and Description |
---|---|
ITestHarness |
getTestHarness()
Returns the test harness, or
null if it has not yet been set. |
void |
runTest(Runnable testRunnable)
Runs the given test runnable.
|
void |
setTestHarness(ITestHarness testHarness)
Sets the test harness.
|
void |
testingFinished()
Notification from the test harness that it has finished running the
tests.
|
void |
testingStarting()
Notification from the test harness that it is starting to run
the tests.
|
public ITestHarness getTestHarness()
null
if it has not yet been set.null
public void setTestHarness(ITestHarness testHarness)
testHarness
- the test harnesspublic void runTest(Runnable testRunnable)
run
on the
given test runnable. Subclasses may extend.testRunnable
- the test runnable to runpublic void testingStarting()
public void testingFinished()
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.