Author: ldimaggio
Date: 2012-09-01 07:55:57 -0400 (Sat, 01 Sep 2012)
New Revision: 43361
Modified:
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/examples/HelloWorld.java
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/examples/HelloWorldFileAction.java
Log:
Removed reference to screen recorder
Modified:
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/examples/HelloWorld.java
===================================================================
---
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/examples/HelloWorld.java 2012-09-01
04:12:18 UTC (rev 43360)
+++
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/examples/HelloWorld.java 2012-09-01
11:55:57 UTC (rev 43361)
@@ -9,7 +9,7 @@
import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
import org.junit.AfterClass;
import org.junit.Test;
-import org.jboss.tools.test.util.ScreenRecorderExt;
+//import org.jboss.tools.test.util.ScreenRecorderExt;
@Require(server=(a)Server(type=ServerType.SOA,state=ServerState.Running))
public class HelloWorld extends ESBExampleTest {
@@ -35,14 +35,14 @@
assertTrue("Calling JMS Send message failed, unexpected server output
:"+text,text.contains("Body: Hello World"));
text = null;
- ScreenRecorderExt screenRecorderExt = null;
- try {
- screenRecorderExt = new ScreenRecorderExt();
- screenRecorderExt.start("screen_record.mov");
- }
- catch (Exception E) {
- E.printStackTrace();
- }
+// ScreenRecorderExt screenRecorderExt = null;
+// try {
+// screenRecorderExt = new ScreenRecorderExt();
+// screenRecorderExt.start("screen_record.mov");
+// }
+// catch (Exception E) {
+// E.printStackTrace();
+// }
text =
executeClientGetServerOutput(getExampleClientProjectName(),"src","org.jboss.soa.esb.samples.quickstart.helloworld.test","SendEsbMessage.java");
assertFalse ("Test fails due to ESB deployment error: NNNN",
text.contains("ERROR
[org.apache.juddi.v3.client.transport.wrapper.RequestHandler]"));
@@ -51,12 +51,12 @@
SWTTestExt.servers.removeAllProjectsFromServer();
- try {
- screenRecorderExt.stop();
- } catch (Exception e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
+// try {
+// screenRecorderExt.stop();
+// } catch (Exception e) {
+// // TODO Auto-generated catch block
+// e.printStackTrace();
+// }
}
}
Modified:
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/examples/HelloWorldFileAction.java
===================================================================
---
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/examples/HelloWorldFileAction.java 2012-09-01
04:12:18 UTC (rev 43360)
+++
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/examples/HelloWorldFileAction.java 2012-09-01
11:55:57 UTC (rev 43361)
@@ -64,7 +64,9 @@
SWTBotView theSWTBotView = open.viewOpen(ActionItem.View.GeneralNavigator.LABEL);
SWTBotTreeItem theProject = bot.tree(0).getTreeItem(projectName).select();
bot.menu("File").menu("Properties").click();
- baseDir = bot.textWithLabel("Location:").getText() +
System.getProperty("file.separator");
+
+// baseDir = bot.textWithLabel("Location:").getText() +
System.getProperty("file.separator");
+ baseDir = bot.textWithLabel("Location:").getText().replaceAll("\\",
"\\\\") + System.getProperty("file.separator");
bot.button("OK").click();
theSWTBotView = open.viewOpen(ActionItem.View.GeneralNavigator.LABEL);
Show replies by date