Author: ljelinko
Date: 2012-08-09 08:56:38 -0400 (Thu, 09 Aug 2012)
New Revision: 42949
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/DeleteServer.java
trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/HotDeployJSPFile.java
Log:
Added annotations so that the test is executed for every test run
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/DeleteServer.java
===================================================================
---
trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/DeleteServer.java 2012-08-09
11:16:18 UTC (rev 42948)
+++
trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/DeleteServer.java 2012-08-09
12:56:38 UTC (rev 42949)
@@ -1,6 +1,8 @@
package org.jboss.ide.eclipse.as.ui.bot.test.template;
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.view.ServersView;
import org.junit.Test;
@@ -10,6 +12,7 @@
* @author Lucia Jelinkova
*
*/
+@Require(server=@Server)
public class DeleteServer extends SWTTestExt {
private ServersView serversView = new ServersView();
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/HotDeployJSPFile.java
===================================================================
---
trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/HotDeployJSPFile.java 2012-08-09
11:16:18 UTC (rev 42948)
+++
trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/HotDeployJSPFile.java 2012-08-09
12:56:38 UTC (rev 42949)
@@ -7,6 +7,8 @@
import org.jboss.ide.eclipse.as.ui.bot.test.wizard.NewFileWizard;
import org.jboss.tools.ui.bot.ext.SWTBotFactory;
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.junit.Test;
/**
@@ -17,6 +19,7 @@
* @author Lucia Jelinkova
*
*/
+@Require(server=@Server, clearWorkspace=false, clearProjects=false)
public class HotDeployJSPFile extends SWTTestExt {
public static final String JSP_CONTENT =
Show replies by date