aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManolo Carrasco <manolo@apache.org>2011-01-23 21:28:56 +0000
committerManolo Carrasco <manolo@apache.org>2011-01-23 21:28:56 +0000
commitee56fc30380e2faaec3c3faca257d271afea3e83 (patch)
treedb2292f140698a2a244a60dc1d707f1c206aeaba
parentf3effb9bce34038dbf904c39d691b9ca3f2784ee (diff)
downloadgwtquery-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.java4
-rw-r--r--gwtquery-core/src/test/java/com/google/gwt/query/client/JreQueryCoreTest.java2
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;
/**