diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_sw/SwAccessiblePageView.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_sw/SwAccessiblePageView.java | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/qadevOOo/tests/java/mod/_sw/SwAccessiblePageView.java b/qadevOOo/tests/java/mod/_sw/SwAccessiblePageView.java index 3c32a7cd9b81..84fa8139cf68 100644 --- a/qadevOOo/tests/java/mod/_sw/SwAccessiblePageView.java +++ b/qadevOOo/tests/java/mod/_sw/SwAccessiblePageView.java @@ -144,7 +144,7 @@ public class SwAccessiblePageView extends TestCase { throw new StatusException( "Couldn't get Paragraph", e ); } - shortWait(); + util.utils.pause(500); XController xController = xTextDoc.getCurrentController(); @@ -168,7 +168,7 @@ public class SwAccessiblePageView extends TestCase { throw new StatusException(e, Status.failed("Couldn't change mode")); } - shortWait(); + util.utils.pause(500); XWindow xWindow = AccessibilityTools.getCurrentWindow(aModel); XAccessible xRoot = AccessibilityTools.getAccessibleObject(xWindow); @@ -251,16 +251,4 @@ public class SwAccessiblePageView extends TestCase { log.println( "creating a text document" ); xTextDoc = WriterTools.createTextDoc(Param.getMSF()); } - - /** - * Sleeps for 0.5 sec. to allow StarOffice to react on <code> - * reset</code> call. - */ - private void shortWait() { - try { - Thread.sleep(500) ; - } catch (InterruptedException e) { - log.println("While waiting :" + e) ; - } - } } |