diff options
Diffstat (limited to 'gwtquery-core')
-rw-r--r-- | gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryWidgetsTestGwt.java | 7 |
1 files changed, 4 insertions, 3 deletions
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 287e6440..4d66d771 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 @@ -135,12 +135,13 @@ public class GQueryWidgetsTestGwt extends GWTTestCase { } public void testSelectorWidget() { - final Button b1 = new Button("click-me"); + final Button b1 = new Button("Button click"); RootPanel.get().add(b1); GQuery g = $(b1); - assertEquals("inline-block", $(b1).css("display")); + assertEquals(true, $(b1).isVisible()); g.hide(); - assertEquals("none", $(b1).css("display")); + assertEquals(false, $(b1).isVisible()); + b1.removeFromParent(); } } |