Method Summary |
|
public void | closeAllPages(IWorkbenchWindow window) Close all pages within a window. |
public void | closeAllTestWindows() Close all test windows. |
protected void | doSetUp() Sets up the fixture, for example, open a network connection. |
protected void | doTearDown() Tears down the fixture, for example, close a network connection. |
public static void | fail(String message, Throwable e) Fails the test due to the given throwable. |
public static IAdaptable | getPageInput() Returns the workbench page input to use for newly created windows. |
protected IWorkbench | getWorkbench() Returns the workbench. |
protected void | manageWindows(boolean manage) Set whether the window listener will manage opening and closing of created windows. |
public IWorkbenchPage | openTestPage(IWorkbenchWindow win) Open a test page with the empty perspective in a window. |
public IWorkbenchPage[] | openTestPage(IWorkbenchWindow win, int pageTotal) Open "n" test pages with the empty perspective in a window. |
public IWorkbenchWindow | openTestWindow() Open a test window with the empty perspective. |
public IWorkbenchWindow | openTestWindow(String perspectiveId) Open a test window with the provided perspective. |
protected static void | processEvents() |
final protected void | setUp() Simple implementation of setUp. |
final protected void | tearDown() Simple implementation of tearDown. |
protected void | trace(String msg) Outputs a trace message to the trace output device, if enabled. |