Author: jjankovi
Date: 2012-03-27 09:29:07 -0400 (Tue, 27 Mar 2012)
New Revision: 39844
Modified:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/WSTestBase.java
Log:
Fixing testbase in ws bot test
Modified:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/WSTestBase.java
===================================================================
---
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/WSTestBase.java 2012-03-27
13:28:21 UTC (rev 39843)
+++
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/WSTestBase.java 2012-03-27
13:29:07 UTC (rev 39844)
@@ -18,6 +18,7 @@
import org.jboss.tools.ui.bot.ext.SWTTestExt;
import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
import org.jboss.tools.ws.ui.bot.test.uiutils.wizards.WsWizardBase.Slider_Level;
import org.jboss.tools.ws.ui.bot.test.utils.DeploymentHelper;
import org.jboss.tools.ws.ui.bot.test.utils.ProjectHelper;
@@ -33,8 +34,8 @@
* @author jjankovi
*
*/
-//@Require(server=(a)Server(type=ServerType.EAP), perspective="Java EE")
-@Require(server=@Server(), perspective="Java EE")
+@Require(server=(a)Server(type=ServerType.EAP), perspective="Java EE")
+//@Require(server=(a)Server(type=ServerType.JbossAS), perspective="Java EE")
@RunWith(RequirementAwareSuite.class)
@SuiteClasses({ WSAllBotTests.class })
public class WSTestBase extends SWTTestExt {
@@ -63,7 +64,8 @@
projectHelper.createEARProject(getEarProjectName());
}
if (!projectExists(getWsProjectName())) {
- projectHelper.createProject(getWsProjectName());
+ projectHelper.createProjectForEAR(getWsProjectName(),
+ getEarProjectName());
}
}