From 09330056a01a4b5c3d16e3ffb6c1bff36099eb83 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 22 Dec 2014 10:02:49 +0200 Subject: java: simplify sleeping and waiting in tests - remove the SHORT_WAIT test parameter, no-one is using it - inline the various independent shortWait() methods - use the util.utils.shortWait() utility method everywhere Change-Id: I93cd4a2580172a1441d2ff3d390f52b9505e2721 --- qadevOOo/tests/java/mod/_toolkit/AccessibleRadioButton.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qadevOOo/tests/java/mod/_toolkit/AccessibleRadioButton.java') diff --git a/qadevOOo/tests/java/mod/_toolkit/AccessibleRadioButton.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleRadioButton.java index 748a64a0496e..c00e6d340610 100644 --- a/qadevOOo/tests/java/mod/_toolkit/AccessibleRadioButton.java +++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleRadioButton.java @@ -168,7 +168,7 @@ public class AccessibleRadioButton extends TestCase { throw new StatusException("Couldn't create document", e); } - util.utils.shortWait(2000); + util.utils.pause(2000); XModel aModel1 = UnoRuntime.queryInterface(XModel.class, xTextDoc); @@ -203,7 +203,7 @@ public class AccessibleRadioButton extends TestCase { PropertyValue[] noArgs = new PropertyValue[0]; getting.dispatch(url[0], noArgs); - util.utils.shortWait(2000); + util.utils.pause(2000); XInterface oObj = null; @@ -219,7 +219,7 @@ public class AccessibleRadioButton extends TestCase { XExtendedToolkit tk = UnoRuntime.queryInterface( XExtendedToolkit.class, oObj); - util.utils.shortWait(2000); + util.utils.pause(2000); XWindow xWindow = UnoRuntime.queryInterface(XWindow.class, tk.getActiveTopWindow()); -- cgit