From 7fdca8da1d9a5fdae6d4a0f9649d6f509760c6e4 Mon Sep 17 00:00:00 2001 From: Manolo Carrasco Date: Mon, 19 Jul 2010 10:58:51 +0000 Subject: update demos --- .../com/google/gwt/query/client/DevTestRunner.java | 119 +++++++++++++++++++-- 1 file changed, 112 insertions(+), 7 deletions(-) (limited to 'devtest') diff --git a/devtest/src/main/java/com/google/gwt/query/client/DevTestRunner.java b/devtest/src/main/java/com/google/gwt/query/client/DevTestRunner.java index 701596e4..bc64025c 100644 --- a/devtest/src/main/java/com/google/gwt/query/client/DevTestRunner.java +++ b/devtest/src/main/java/com/google/gwt/query/client/DevTestRunner.java @@ -16,13 +16,25 @@ package com.google.gwt.query.client; import static com.google.gwt.query.client.GQuery.$; +import static com.google.gwt.query.client.GQuery.body; +import static com.google.gwt.query.client.plugins.Effects.Effects; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.core.client.GWT; import com.google.gwt.dom.client.Document; import com.google.gwt.dom.client.Element; import com.google.gwt.dom.client.NodeList; +import com.google.gwt.event.dom.client.FocusHandler; +import com.google.gwt.event.shared.GwtEvent; +import com.google.gwt.event.shared.HandlerRegistration; +import com.google.gwt.query.client.impl.SelectorEngineCssToXPath; import com.google.gwt.query.client.impl.SelectorEngineImpl; +import com.google.gwt.query.client.impl.SelectorEngineJS; +import com.google.gwt.query.client.impl.SelectorEngineNative; +import com.google.gwt.query.client.impl.SelectorEngineSizzle; +import com.google.gwt.query.client.impl.SelectorEngineSizzleGwt; +import com.google.gwt.query.client.impl.SelectorEngineXPath; +import com.google.gwt.query.client.plugins.Effects; import com.google.gwt.user.client.Timer; /** @@ -36,23 +48,106 @@ import com.google.gwt.user.client.Timer; * */ public class DevTestRunner extends MyTestCase implements EntryPoint { + + public void test() { + Effects e = $().as(Effects).dequeue(); + } static native String $j (String s) /*-{ return "" + eval(s); }-*/; + + public void testSelectorsInIframe() { + $(e).html("