/** * The <code>WorkbenchTestable</code> implementation of this * <code>TestableObject</code> method ensures that the workbench * has been set. */ @Override public void testingStarting() { Assert.isNotNull(workbench); oldAutomatedMode = ErrorDialog.AUTOMATED_MODE; ErrorDialog.AUTOMATED_MODE = true; oldIgnoreErrors = SafeRunnable.getIgnoreErrors(); SafeRunnable.setIgnoreErrors(true); }