summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sd/SdUnoOutlineView.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_sd/SdUnoOutlineView.java')
-rw-r--r--qadevOOo/tests/java/mod/_sd/SdUnoOutlineView.java12
1 files changed, 2 insertions, 10 deletions
diff --git a/qadevOOo/tests/java/mod/_sd/SdUnoOutlineView.java b/qadevOOo/tests/java/mod/_sd/SdUnoOutlineView.java
index 898af44eee57..252863b168d0 100644
--- a/qadevOOo/tests/java/mod/_sd/SdUnoOutlineView.java
+++ b/qadevOOo/tests/java/mod/_sd/SdUnoOutlineView.java
@@ -137,7 +137,7 @@ public class SdUnoOutlineView extends TestCase {
try {
log.println( "creating a impress document" );
xImpressDoc = SOF.createImpressDoc(null);
- shortWait();
+ util.utils.pause(5000);
} catch (com.sun.star.uno.Exception e) {
e.printStackTrace( log );
throw new StatusException("Couldn't create document", e);
@@ -173,7 +173,7 @@ public class SdUnoOutlineView extends TestCase {
try {
log.println( "creating a second impress document" );
xSecondDrawDoc = SOF.createImpressDoc(null);
- shortWait();
+ util.utils.pause(5000);
} catch (com.sun.star.uno.Exception e) {
e.printStackTrace( log );
throw new StatusException("Couldn't create document", e);
@@ -217,14 +217,6 @@ public class SdUnoOutlineView extends TestCase {
} // finish method getTestEnvironment
- private void shortWait() {
- try {
- Thread.sleep(5000) ;
- } catch (InterruptedException e) {
- System.out.println("While waiting :" + e) ;
- }
- }
-
} // finish class SdUnoOutlineView