diff options
author | Manolo Carrasco <manolo@apache.org> | 2011-01-23 21:28:56 +0000 |
---|---|---|
committer | Manolo Carrasco <manolo@apache.org> | 2011-01-23 21:28:56 +0000 |
commit | ee56fc30380e2faaec3c3faca257d271afea3e83 (patch) | |
tree | db2292f140698a2a244a60dc1d707f1c206aeaba | |
parent | f3effb9bce34038dbf904c39d691b9ca3f2784ee (diff) | |
download | gwtquery-ee56fc30380e2faaec3c3faca257d271afea3e83.tar.gz gwtquery-ee56fc30380e2faaec3c3faca257d271afea3e83.zip |
removing usage of deprecated method in tests
-rw-r--r-- | gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCoreTest.java | 4 | ||||
-rw-r--r-- | gwtquery-core/src/test/java/com/google/gwt/query/client/JreQueryCoreTest.java | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCoreTest.java b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCoreTest.java index 729fc9c0..9611b2a3 100644 --- a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCoreTest.java +++ b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCoreTest.java @@ -737,8 +737,8 @@ public class GQueryCoreTest extends GWTTestCase { GQuery g = $("div", e); assertEquals(100, g.width()); assertEquals(100, g.height()); - assertEquals(120, g.clientWidth()); - assertEquals(120, g.clientHeight()); + assertEquals(120, g.innerWidth()); + assertEquals(120, g.innerHeight()); assertEquals(100d, g.cur("width", false)); assertEquals(100d, g.cur("height", false)); assertEquals(100d, g.cur("width", true)); diff --git a/gwtquery-core/src/test/java/com/google/gwt/query/client/JreQueryCoreTest.java b/gwtquery-core/src/test/java/com/google/gwt/query/client/JreQueryCoreTest.java index 21f1b4d6..c84eb38f 100644 --- a/gwtquery-core/src/test/java/com/google/gwt/query/client/JreQueryCoreTest.java +++ b/gwtquery-core/src/test/java/com/google/gwt/query/client/JreQueryCoreTest.java @@ -15,8 +15,6 @@ */ package com.google.gwt.query.client; -import java.util.Hashtable; - import com.google.gwt.junit.client.GWTTestCase; /** |