@Override public void setUp() throws Exception { super.setUp(); new WorkbenchShell().maximize(); createJspPage(MultiSelectionTest.TEST_PAGE_NAME); jspEditor = new TextEditor(MultiSelectionTest.TEST_PAGE_NAME); webBrowser = new SWTBotWebBrowser(MultiSelectionTest.TEST_PAGE_NAME); }
@Override public void tearDown() throws Exception { if (textEditor != null) { textEditor.setText(originalEditorText); textEditor.save(); textEditor.close(); } super.tearDown(); }
@Override public void tearDown() throws Exception { jspEditor.close(); super.tearDown(); }