Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorddunne2011-10-26 13:31:19 -0400
committerRyan D. Brooks2011-10-26 13:31:19 -0400
commita4a46cf587236a92b2fe3b6379bf156b0f1b591e (patch)
tree6602ebd6d10a7c39539f13a358aa166d486f883d /plugins/org.eclipse.osee.support.test.util/src
parent5b427b7e6a0d8f8800e9fd0dbdbc314c57381d16 (diff)
downloadorg.eclipse.osee-a4a46cf587236a92b2fe3b6379bf156b0f1b591e.tar.gz
org.eclipse.osee-a4a46cf587236a92b2fe3b6379bf156b0f1b591e.tar.xz
org.eclipse.osee-a4a46cf587236a92b2fe3b6379bf156b0f1b591e.zip
feature: Create tests for ATS Actions
Diffstat (limited to 'plugins/org.eclipse.osee.support.test.util/src')
-rw-r--r--plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/TestUtil.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/TestUtil.java b/plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/TestUtil.java
index ad2a778093..954f96e4f6 100644
--- a/plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/TestUtil.java
+++ b/plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/TestUtil.java
@@ -74,9 +74,13 @@ public class TestUtil {
OseeInfo.putValue(OseeInfo.DB_TYPE_KEY, set ? DEMO_DB_TYPE : "");
}
- public static void sleep(long milliseconds) throws Exception {
+ public static void sleep(long milliseconds) {
// System.out.println("Sleeping " + milliseconds);
- Thread.sleep(milliseconds);
+ try {
+ Thread.sleep(milliseconds);
+ } catch (InterruptedException ex) {
+ // do nothing
+ }
// System.out.println("Awake");
}

Back to the top