summaryrefslogtreecommitdiff
path: root/framework/qa/complex/contextMenuInterceptor/CheckContextMenuInterceptor.java
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-22 10:02:49 +0200
committerNoel Grandin <noel@peralex.com>2015-01-12 08:36:17 +0200
commit09330056a01a4b5c3d16e3ffb6c1bff36099eb83 (patch)
treeefa793bee83eed4081edd52737e73216a3048b89 /framework/qa/complex/contextMenuInterceptor/CheckContextMenuInterceptor.java
parent4bf4e3d40778051f1f886c47dd2b2bef82acf1e5 (diff)
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
Diffstat (limited to 'framework/qa/complex/contextMenuInterceptor/CheckContextMenuInterceptor.java')
-rw-r--r--framework/qa/complex/contextMenuInterceptor/CheckContextMenuInterceptor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/qa/complex/contextMenuInterceptor/CheckContextMenuInterceptor.java b/framework/qa/complex/contextMenuInterceptor/CheckContextMenuInterceptor.java
index 189a1e81cfb4..532dc9da5cd1 100644
--- a/framework/qa/complex/contextMenuInterceptor/CheckContextMenuInterceptor.java
+++ b/framework/qa/complex/contextMenuInterceptor/CheckContextMenuInterceptor.java
@@ -316,7 +316,7 @@ public class CheckContextMenuInterceptor
System.out.println("couldn't press mouse button");
}
- utils.shortWait(3000);
+ utils.pause(3000);
}