Author: jpeterka
Date: 2012-03-28 09:28:28 -0400 (Wed, 28 Mar 2012)
New Revision: 39888
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTTestExt.java
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/Timing.java
Log:
Added "unlimited" timing constant in SWTTestExt
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTTestExt.java
===================================================================
---
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTTestExt.java 2012-03-28
13:21:37 UTC (rev 39887)
+++
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTTestExt.java 2012-03-28
13:28:28 UTC (rev 39888)
@@ -69,6 +69,7 @@
public static int TIME_20S = Timing.time20S();
public static int TIME_30S = Timing.time30S();
public static int TIME_60S = Timing.time60S();
+ public static int TIME_UNLIMITED = Timing.time60S();
protected void setUp() throws Exception {
super.setUp();
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/Timing.java
===================================================================
---
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/Timing.java 2012-03-28
13:21:37 UTC (rev 39887)
+++
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/Timing.java 2012-03-28
13:28:28 UTC (rev 39888)
@@ -44,6 +44,9 @@
public static int time60S() {
return (int) Math.round(60000*multiplier);
}
+ public static int timeUnlimited() {
+ return (int) Math.round(999999999*multiplier);
+ }
public static int time5S() {
return (int) Math.round(5000*multiplier);
}
Show replies by date