diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_sw/SwAccessibleDocumentPageView.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_sw/SwAccessibleDocumentPageView.java | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/qadevOOo/tests/java/mod/_sw/SwAccessibleDocumentPageView.java b/qadevOOo/tests/java/mod/_sw/SwAccessibleDocumentPageView.java index cbfcce7fd050..9348e86f041b 100644 --- a/qadevOOo/tests/java/mod/_sw/SwAccessibleDocumentPageView.java +++ b/qadevOOo/tests/java/mod/_sw/SwAccessibleDocumentPageView.java @@ -113,7 +113,7 @@ public class SwAccessibleDocumentPageView extends TestCase { throw new StatusException(e, Status.failed("Couldn't change mode")); } - shortWait(); + util.utils.pause(2000); XWindow xWindow = AccessibilityTools.getCurrentWindow(aModel); XAccessible xRoot = AccessibilityTools.getAccessibleObject(xWindow); @@ -131,7 +131,7 @@ public class SwAccessibleDocumentPageView extends TestCase { public void fireEvent() { String oldText = the_text.getString(); the_text.setString("EVENT FIRED"); - shortWait(); + util.utils.pause(2000); the_text.setString(oldText); } }); @@ -142,19 +142,6 @@ public class SwAccessibleDocumentPageView extends TestCase { /** - * Sleeps for 1 sec. to allow StarOffice to react on <code> - * reset</code> call. - */ - private void shortWait() { - try { - Thread.sleep(2000) ; - } catch (InterruptedException e) { - log.println("While waiting :" + e) ; - } - } - - - /** * Called while disposing a <code>TestEnvironment</code>. * Disposes text document. * @param Param test parameters |