summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java')
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java b/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java
index 557abd569634..56dbf5369470 100644
--- a/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java
+++ b/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java
@@ -33,10 +33,13 @@ import com.sun.star.awt.XWindow;
import com.sun.star.frame.XModel;
import com.sun.star.lang.EventObject;
import com.sun.star.uno.UnoRuntime;
+
import java.awt.Robot;
import java.awt.event.InputEvent;
+
import lib.MultiMethodTest;
import util.AccessibilityTools;
+import util.PropertyName;
/**
* Testing <code>com.sun.star.awt.XUserInputInterception</code>
@@ -148,7 +151,7 @@ public class _XUserInputInterception extends MultiMethodTest {
et.run();
- util.utils.shortWait(tParam.getInt(util.PropertyName.SHORT_WAIT) * 2);
+ util.utils.pause(PropertyName.DEFAULT_SHORT_WAIT_MS * 2);
log.println("key listener thread should be finished.");
@@ -211,7 +214,7 @@ public class _XUserInputInterception extends MultiMethodTest {
et.run();
- util.utils.shortWait(tParam.getInt(util.PropertyName.SHORT_WAIT) * 2);
+ util.utils.pause(PropertyName.DEFAULT_SHORT_WAIT_MS * 2);
log.println("mouse listener thread should be finished.");
boolean bOK = m_mousePressed1 & m_mouseReleased1 &