aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java4
-rw-r--r--gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryEffectsTestGwt.java7
2 files changed, 7 insertions, 4 deletions
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java
index 72beed5b..eea88ce4 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java
@@ -130,12 +130,12 @@ public class GQuery implements Lazy<GQuery, LazyGQuery> {
/**
* A Browser object with a set of browser-specific flags.
*/
- public static final Browser browser = GWT.isClient() ? GWT.<Browser> create(Browser.class) : null;
+ public static final Browser browser = GWT.isClient() ? GWT.<Browser>create(Browser.class) : null;
/**
* An object with the same methods than window.console.
*/
- public static final Console console = GWT.isClient() ? GWT.<Console> create(Console.class) : null;
+ public static final Console console = GWT.isClient() ? GWT.<Console>create(Console.class) : null;
/**
* Object to store element data (public so as we can access to it from tests).
diff --git a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryEffectsTestGwt.java b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryEffectsTestGwt.java
index f08c9f80..da19afb1 100644
--- a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryEffectsTestGwt.java
+++ b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryEffectsTestGwt.java
@@ -118,8 +118,9 @@ public class GQueryEffectsTestGwt extends GWTTestCase {
assertEquals(1, back.size());
}
- // FIXME: timer 3 fails in real browsers (chrome)
- @DoNotRunWith(Platform.Prod)
+ // Fails in TC windows, pass in Jenkins Linux
+ // FIXME: Also timer 3 fails in real browsers (chrome).
+ @DoNotRunWith(Platform.HtmlUnitLayout)
public void testEffectsShouldBeQueued() {
$(e).html("<p id='idtest'>Content 1</p></p>");
@@ -166,6 +167,8 @@ public class GQueryEffectsTestGwt extends GWTTestCase {
timer4.schedule(duration/2);
}
+ // Fails in TC windows, pass in Jenkins Linux
+ @DoNotRunWith(Platform.HtmlUnitLayout)
public void testFade() {
$(e)
.html(