summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBox.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBox.java')
-rw-r--r--qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBox.java18
1 files changed, 3 insertions, 15 deletions
diff --git a/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBox.java b/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBox.java
index 6fe1e58b1942..bc34cc9c0f86 100644
--- a/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBox.java
+++ b/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBox.java
@@ -102,7 +102,7 @@ public class AccessibleBrowseBox extends TestCase {
throw new StatusException("Couldn't create document", e);
}
- shortWait();
+ util.utils.pause(5000);
XModel aModel1 = UnoRuntime.queryInterface(XModel.class, xTextDoc);
@@ -121,7 +121,7 @@ public class AccessibleBrowseBox extends TestCase {
PropertyValue[] noArgs = new PropertyValue[0];
getting.dispatch(the_url, noArgs);
- shortWait();
+ util.utils.pause(5000);
XFrame the_frame1 = the_Desk.getCurrentFrame();
@@ -148,7 +148,7 @@ public class AccessibleBrowseBox extends TestCase {
final PropertyValue[] fParams = params;
- shortWait();
+ util.utils.pause(5000);
XWindow xWindow = secondController.getFrame().getContainerWindow();
@@ -177,16 +177,4 @@ public class AccessibleBrowseBox 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);
- }
- }
}