public class UnitTestView
extends org.eclipse.ui.part.ViewPart
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TEST_STATUS_PROPERTY |
static java.lang.String |
VIEW_ID |
| Constructor and Description |
|---|
UnitTestView() |
| Modifier and Type | Method and Description |
|---|---|
void |
createPartControl(org.eclipse.swt.widgets.Composite parent) |
void |
dispose() |
TestSuiteScriptEngine |
getCurrentEngine() |
ITestSuite |
getCurrentTestSuite() |
static java.lang.String |
getDurationString(long duration) |
org.eclipse.jface.viewers.TreeViewer |
getFileTreeViewer() |
org.eclipse.jface.viewers.StructuredViewer |
getTableViewer() |
void |
notifyEngineCreation(TestSuiteScriptEngine engine) |
static void |
openEditor(java.lang.Object resource,
int lineNumber)
Opens the given resource in an editor.
|
void |
setFocus() |
void |
terminateSuite() |
getViewSite, init, init, saveState, setInitializationDataaddPartPropertyListener, addPropertyListener, 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 VIEW_ID
public static final java.lang.String TEST_STATUS_PROPERTY
public static void openEditor(java.lang.Object resource,
int lineNumber)
resource - resource to openlineNumber - line number to jump to in editorpublic 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 org.eclipse.jface.viewers.TreeViewer getFileTreeViewer()
public org.eclipse.jface.viewers.StructuredViewer getTableViewer()
public void notifyEngineCreation(TestSuiteScriptEngine engine)
public static java.lang.String getDurationString(long duration)
public void dispose()
dispose in interface org.eclipse.ui.IWorkbenchPartdispose in class org.eclipse.ui.part.WorkbenchPartpublic void terminateSuite()
public TestSuiteScriptEngine getCurrentEngine()
public ITestSuite getCurrentTestSuite()