Author: ldimaggio
Date: 2012-10-01 21:28:12 -0400 (Mon, 01 Oct 2012)
New Revision: 44197
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/ExampleTest.java
Log:
Added more logging to ExampleTest.java - seeing inconsistent results running on Mac with
Jenkins
log.info("Example name=" + getExampleName());
log.info("SWTJBTExt.isRunningOnMacOs() = " + SWTJBTExt.isRunningOnMacOs());
log.info("bot.shell(\"Java - Eclipse Platform\").isActive()" +
bot.shell("Java - Eclipse Platform").isActive() );
log.info("configuredState.getServer().type" +
configuredState.getServer().type);
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/ExampleTest.java
===================================================================
---
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/ExampleTest.java 2012-10-01
21:13:41 UTC (rev 44196)
+++
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/ExampleTest.java 2012-10-02
01:28:12 UTC (rev 44197)
@@ -92,6 +92,12 @@
// for (SWTBotShell s : theShells) {
// System.out.println ("DEBUG! " + s.getText());
// }
+
+ log.info("Example name=" + getExampleName());
+ log.info("SWTJBTExt.isRunningOnMacOs() = " + SWTJBTExt.isRunningOnMacOs());
+ log.info("bot.shell(\"Java - Eclipse Platform\").isActive()" +
bot.shell("Java - Eclipse Platform").isActive() );
+ log.info("configuredState.getServer().type" +
configuredState.getServer().type);
+
if ( (SWTJBTExt.isRunningOnMacOs()) && (!bot.shell("Java - Eclipse
Platform").isActive()) &&
(configuredState.getServer().type.equals("SOA")) ){
log.info("Running on a MAC - need to set Focus back to the Eclipse shell
window");
bot.sleep(30000l);
Show replies by date