summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_svtools/AccessibleIconChoiceCtrl.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_svtools/AccessibleIconChoiceCtrl.java')
-rw-r--r--qadevOOo/tests/java/mod/_svtools/AccessibleIconChoiceCtrl.java18
1 files changed, 3 insertions, 15 deletions
diff --git a/qadevOOo/tests/java/mod/_svtools/AccessibleIconChoiceCtrl.java b/qadevOOo/tests/java/mod/_svtools/AccessibleIconChoiceCtrl.java
index 7901d40c6e13..da90e9fe0501 100644
--- a/qadevOOo/tests/java/mod/_svtools/AccessibleIconChoiceCtrl.java
+++ b/qadevOOo/tests/java/mod/_svtools/AccessibleIconChoiceCtrl.java
@@ -152,7 +152,7 @@ public class AccessibleIconChoiceCtrl extends TestCase {
throw new StatusException("Couldn't create document", e);
}
- shortWait();
+ util.utils.pause(5000);
XModel aModel1 = UnoRuntime.queryInterface(XModel.class,
xTextDoc);
@@ -187,7 +187,7 @@ public class AccessibleIconChoiceCtrl extends TestCase {
PropertyValue[] noArgs = new PropertyValue[0];
getting.dispatch(url[0], noArgs);
- shortWait();
+ util.utils.pause(5000);
XInterface oObj = null;
@@ -203,7 +203,7 @@ public class AccessibleIconChoiceCtrl extends TestCase {
XExtendedToolkit tk = UnoRuntime.queryInterface(
XExtendedToolkit.class, oObj);
- shortWait();
+ util.utils.pause(5000);
XWindow xWindow = UnoRuntime.queryInterface(XWindow.class,
tk.getActiveTopWindow());
@@ -263,16 +263,4 @@ public class AccessibleIconChoiceCtrl extends TestCase {
return tEnv;
}
-
- /**
- * Sleeps for 0.5 sec. to allow StarOffice to react on <code>
- * reset</code> call.
- */
- private void shortWait() {
- try {
- Thread.sleep(5000);
- } catch (InterruptedException e) {
- System.out.println("While waiting :" + e);
- }
- }
} \ No newline at end of file