From: Adolfo Panizo Date: Fri, 26 Dec 2014 18:14:36 +0000 (+0100) Subject: using assertTrue and asserFalse instead of assertEquals(true/false, ...) X-Git-Tag: gwtquery-project-1.4.3~7^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=84909924a3af81010bc6c6df933b5c44f125c950;p=gwtquery.git using assertTrue and asserFalse instead of assertEquals(true/false, ...) --- diff --git a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryWidgetsTestGwt.java b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryWidgetsTestGwt.java index 4d66d771..66e1aab5 100644 --- a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryWidgetsTestGwt.java +++ b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryWidgetsTestGwt.java @@ -138,9 +138,9 @@ public class GQueryWidgetsTestGwt extends GWTTestCase { final Button b1 = new Button("Button click"); RootPanel.get().add(b1); GQuery g = $(b1); - assertEquals(true, $(b1).isVisible()); + assertTrue($(b1).isVisible()); g.hide(); - assertEquals(false, $(b1).isVisible()); + assertFalse($(b1).isVisible()); b1.removeFromParent(); }