diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-12-10 16:05:07 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-12-10 16:05:07 +0000 |
commit | 53af0a94bb99a6889e4f3aa74f9f6cf0f61bb2c3 (patch) | |
tree | 5027ab0b2f6958fdfde2638b73e676f909b3cd72 /qadevOOo/tests/java/mod/_toolkit/AccessibleButton.java | |
parent | bf412ecb474cb4a264680e71c08326f783d385c0 (diff) |
INTEGRATION: CWS qadev20 (1.8.4); FILE MERGED
2004/11/17 16:56:55 cn 1.8.4.2: #i37350# change shotWait() with util.utils.shortWait(Param.getInt(ShortWait))
2004/11/17 16:39:54 cn 1.8.4.1: #i37350# remove the joining of dialog thread with test thread
Diffstat (limited to 'qadevOOo/tests/java/mod/_toolkit/AccessibleButton.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_toolkit/AccessibleButton.java | 26 |
1 files changed, 5 insertions, 21 deletions
diff --git a/qadevOOo/tests/java/mod/_toolkit/AccessibleButton.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleButton.java index 6e51502b1590..21f53ae0507e 100644 --- a/qadevOOo/tests/java/mod/_toolkit/AccessibleButton.java +++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleButton.java @@ -2,9 +2,9 @@ * * $RCSfile: AccessibleButton.java,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Date: 2004-11-02 12:12:58 $ + * last change: $Date: 2004-12-10 17:05:07 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -142,21 +142,16 @@ public class AccessibleButton extends lib.TestCase { XExtendedToolkit tk = (XExtendedToolkit) UnoRuntime.queryInterface( XExtendedToolkit.class, oObj); - shortWait(); + util.utils.shortWait(Param.getInt("ShortWait")); DiagThread psDiag = new DiagThread(xTextDoc, msf); psDiag.start(); - try { - psDiag.join(); - } catch (Exception e) { - } - - shortWait(); + util.utils.shortWait(Param.getInt("ShortWait")); AccessibilityTools at = new AccessibilityTools(); - shortWait(); + util.utils.shortWait(Param.getInt("ShortWait")); Object atw = tk.getActiveTopWindow(); @@ -234,17 +229,6 @@ public class AccessibleButton extends lib.TestCase { } } - /** - * 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); - } - } /** * Thread for opening modal dialog 'Print Settings'. |