Author: vpakan(a)redhat.com
Date: 2010-03-29 07:29:56 -0400 (Mon, 29 Mar 2010)
New Revision: 21108
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java
Log:
Remove test project from server within the tearDown() method.
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java 2010-03-29
11:27:42 UTC (rev 21107)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java 2010-03-29
11:29:56 UTC (rev 21108)
@@ -16,6 +16,7 @@
import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor;
import org.jboss.tools.test.TestProperties;
import org.jboss.tools.vpe.ui.bot.test.Activator;
+import org.jboss.tools.ui.bot.ext.SWTJBTExt;
import org.jboss.tools.ui.bot.test.JBTSWTBotTestCase;
import org.jboss.tools.ui.bot.test.SWTBotJSPMultiPageEditor;
import org.jboss.tools.ui.bot.test.WidgetVariables;
@@ -97,7 +98,8 @@
@Override
protected void tearDown() throws Exception {
- clearWorkbench();
+ clearWorkbench();
+ new SWTJBTExt(bot).removeProjectFromServers(JBT_TEST_PROJECT_NAME);
super.tearDown();
}