aboutsummaryrefslogtreecommitdiffstats
path: root/devtest
diff options
context:
space:
mode:
Diffstat (limited to 'devtest')
-rw-r--r--devtest/src/main/java/com/google/gwt/query/client/MyTestCase.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/devtest/src/main/java/com/google/gwt/query/client/MyTestCase.java b/devtest/src/main/java/com/google/gwt/query/client/MyTestCase.java
index 4b0c92b7..8a8160d1 100644
--- a/devtest/src/main/java/com/google/gwt/query/client/MyTestCase.java
+++ b/devtest/src/main/java/com/google/gwt/query/client/MyTestCase.java
@@ -119,6 +119,10 @@ public class MyTestCase {
protected void finishTest() {
testRunning = false;
}
+
+ protected void fail() {
+ check(false, "Test failure");
+ }
protected void assertPosition(GQuery g, Offset min, Offset max) {
int a = Math.min(min.top, max.top);