Author: jjankovi
Date: 2012-04-05 09:05:07 -0400 (Thu, 05 Apr 2012)
New Revision: 40076
Modified:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/utils/DeploymentHelper.java
Log:
small fix and refactoring
Modified:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/utils/DeploymentHelper.java
===================================================================
---
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/utils/DeploymentHelper.java 2012-04-05
13:04:31 UTC (rev 40075)
+++
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/utils/DeploymentHelper.java 2012-04-05
13:05:07 UTC (rev 40076)
@@ -11,6 +11,9 @@
package org.jboss.tools.ws.ui.bot.test.utils;
+import static org.eclipse.swtbot.swt.finder.SWTBotAssert.assertContains;
+import static org.junit.Assert.assertEquals;
+
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
@@ -18,14 +21,22 @@
import java.util.Scanner;
import java.util.logging.Logger;
-import org.jboss.tools.ui.bot.ext.SWTTestExt;
+import org.jboss.tools.ui.bot.ext.SWTBotExt;
+import org.jboss.tools.ui.bot.ext.SWTOpenExt;
import org.jboss.tools.ui.bot.ext.gen.ActionItem;
+import org.jboss.tools.ui.bot.ext.view.ProjectExplorer;
-public class DeploymentHelper extends SWTTestExt {
+public class DeploymentHelper {
private final Logger LOGGER = Logger
.getLogger(DeploymentHelper.class.getName());
+
+ private final SWTBotExt bot = new SWTBotExt();
+ private final ProjectExplorer projectExplorer = new ProjectExplorer();
+
+ private final SWTOpenExt open = new SWTOpenExt(bot);
+
/**
* Method runs project on configured server
* @param project
@@ -41,7 +52,7 @@
* @param wsdlURL
*/
public void assertServiceDeployed(String wsdlURL) {
- assertServiceDeployed(wsdlURL, 5000);
+ assertServiceDeployed(wsdlURL, 5000);
}
/**
Show replies by date