diff options
author | Manolo Carrasco <manolo@apache.org> | 2014-12-30 13:52:32 +0100 |
---|---|---|
committer | Manolo Carrasco <manolo@apache.org> | 2014-12-30 13:52:32 +0100 |
commit | 37cff9a5acb515c13b299b842971bb1d128a4359 (patch) | |
tree | 812bb9236416a57440ec7ffdc9cb4b3dd193ac57 /gwtquery-core/src/test/java | |
parent | e4ea1388ed6ac6ee6d1ab594202da418110cdbc8 (diff) | |
download | gwtquery-37cff9a5acb515c13b299b842971bb1d128a4359.tar.gz gwtquery-37cff9a5acb515c13b299b842971bb1d128a4359.zip |
Change EvPart name, remove focusin/focusout aliases.
Diffstat (limited to 'gwtquery-core/src/test/java')
-rw-r--r-- | gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryEventsTestGwt.java | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryEventsTestGwt.java b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryEventsTestGwt.java index 0ad8ae40..315999a1 100644 --- a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryEventsTestGwt.java +++ b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryEventsTestGwt.java @@ -455,28 +455,6 @@ public class GQueryEventsTestGwt extends GWTTestCase { assertEquals("", $("p", e).css("border", false)); } - @DoNotRunWith({Platform.HtmlUnitLayout}) - public void testSpecialFocusInOut() { - $(e).html("<p>Content</p>"); - $("p", e).on(EventsListener.FOCUSIN, new Function() { - public void f(Element elem) { - GQuery.console.log("focus"); - $(elem).css("background-color", "red"); - } - }); - $("p", e).focus(); - assertEquals("red", $("p", e).css("background-color", false)); - - // blur - $("p", e).on(EventsListener.FOCUSOUT, new Function() { - public void f(Element elem) { - $(elem).css("background-color", "white"); - } - }); - $("p", e).blur(); - assertEquals("white", $("p", e).css("background-color", false)); - } - public void testLazyMethods() { $(e).css(CSS.COLOR.with(RGBColor.WHITE)); assertEquals("white", $(e).css("color", false)); |