public class EUnitRunnerView extends org.eclipse.ui.part.ViewPart implements EUnitTestListener
Note: this class implements the EUnitTestListener interface,
but it is does ShowEUnitViewTestListener, which creates this view and sets
it up. After setting it up, ShowEUnitViewTestListener delegates all
notifications to this class.
| Modifier and Type | Class and Description |
|---|---|
static class |
EUnitRunnerView.RerunAllHandler |
static class |
EUnitRunnerView.RerunOnlyFailedHandler |
static class |
EUnitRunnerView.RerunSameHandler |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ID
The ID of the view as specified by the extension.
|
EXTENSION_POINT_ID| Constructor and Description |
|---|
EUnitRunnerView() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCase(EUnitModule module,
EUnitTest test)
Notification sent after running a test case.
|
void |
beforeCase(EUnitModule module,
EUnitTest test)
Notification sent before running a test case.
|
void |
createPartControl(org.eclipse.swt.widgets.Composite parent)
This is a callback that will allow us to create the viewer and initialize
it.
|
void |
setCurrentModules(java.util.List<EUnitModule> modules)
Changes the module which is currently displayed in this view.
|
void |
setFocus()
Passing the focus request to the viewer's control.
|
getViewSite, init, init, saveState, setInitializationDataaddPartPropertyListener, addPropertyListener, dispose, getAdapter, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, showBusyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final java.lang.String ID
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
createPartControl in interface org.eclipse.ui.IWorkbenchPartcreatePartControl in class org.eclipse.ui.part.WorkbenchPartpublic void setFocus()
setFocus in interface org.eclipse.ui.IWorkbenchPartsetFocus in class org.eclipse.ui.part.WorkbenchPartpublic void setCurrentModules(java.util.List<EUnitModule> modules)
module - EUnit module to be shown.public void beforeCase(EUnitModule module, EUnitTest test)
EUnitTestListenerbeforeCase in interface EUnitTestListenermodule - EUnit module under execution.test - Description of the test case: its result has not been set yet.public void afterCase(EUnitModule module, EUnitTest test)
EUnitTestListenerafterCase in interface EUnitTestListenermodule - EUnit module under execution.test - Test case, with its result set.