summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/base
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-22 10:02:49 +0200
committerNoel Grandin <noel@peralex.com>2015-01-12 08:36:17 +0200
commit09330056a01a4b5c3d16e3ffb6c1bff36099eb83 (patch)
treeefa793bee83eed4081edd52737e73216a3048b89 /qadevOOo/runner/base
parent4bf4e3d40778051f1f886c47dd2b2bef82acf1e5 (diff)
java: simplify sleeping and waiting in tests
- remove the SHORT_WAIT test parameter, no-one is using it - inline the various independent shortWait() methods - use the util.utils.shortWait() utility method everywhere Change-Id: I93cd4a2580172a1441d2ff3d390f52b9505e2721
Diffstat (limited to 'qadevOOo/runner/base')
-rw-r--r--qadevOOo/runner/base/java_fat.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/runner/base/java_fat.java b/qadevOOo/runner/base/java_fat.java
index 78bcc38fb910..bc63f40b4dfb 100644
--- a/qadevOOo/runner/base/java_fat.java
+++ b/qadevOOo/runner/base/java_fat.java
@@ -133,7 +133,7 @@ public class java_fat implements TestBase
continue;
}
- util.utils.shortWait(2000);
+ util.utils.pause(2000);
System.out.println("Creating: " + entry.entryName);
@@ -430,7 +430,7 @@ public class java_fat implements TestBase
if (ph != null)
{
m_aOffice.closeExistingOffice(m_aParams, true);
- util.utils.shortWait(5000);
+ util.utils.pause(5000);
}
}