Author: ldimaggio
Date: 2012-09-29 19:25:03 -0400 (Sat, 29 Sep 2012)
New Revision: 44156
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/view/ConsoleView.java
Log:
Removed try/catch block just added to ext/ExampleTest.java, changed 30 sec sleep to 10 sec
in ext/view/ConsoleView.java
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-09-29
20:52:10 UTC (rev 44155)
+++
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/ExampleTest.java 2012-09-29
23:25:03 UTC (rev 44156)
@@ -118,14 +118,7 @@
//assertTrue(String.format("Example project name changed, have '%s',
expected
'%s'",hasProjName,getProjectNames()[0]),hasProjName.equals(getProjectNames()[0]));
int projSize =
getProjectSize(wiz.textWithLabel(JBossToolsProjectExamples.TEXT_PROJECT_SIZE).getText());
wiz.button(IDELabel.Button.FINISH).click();
- /* ldimaggi - added try/catch block as this is failing on Mac/Jenkins */
- SWTBotShell shell = null;
- try {
- shell = bot.shell("Downloading...");
- }
- catch (Exception E) {
- log.error("Could not find the Downloading... shell " + E.getMessage());
- }
+ SWTBotShell shell = bot.shell("Downloading...");
shell.activate();
bot.waitUntil(shellCloses(shell),Timing.time(projSize*20*1000));
util.waitForNonIgnoredJobs(Timing.time20S());
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/view/ConsoleView.java
===================================================================
---
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/view/ConsoleView.java 2012-09-29
20:52:10 UTC (rev 44155)
+++
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/view/ConsoleView.java 2012-09-29
23:25:03 UTC (rev 44156)
@@ -91,7 +91,7 @@
public boolean switchConsole(String containedInonsoleName) {
log.info("Switching the console - switchConsole");
- bot.sleep(Timing.time30S());
+ bot.sleep(Timing.time10S());
/*
* ldimaggi - Aug 2012 -
https://issues.jboss.org/browse/JBQA-6462