diff options
author | Manuel Carrasco <manolo@apache.org> | 2014-01-07 10:27:38 -0800 |
---|---|---|
committer | Manuel Carrasco <manolo@apache.org> | 2014-01-07 10:27:38 -0800 |
commit | bcbb6d45752a62ecceb581473b082e0d019173c7 (patch) | |
tree | 1e275dddabc2644fde55a6ffc370e9003d5b8ca1 | |
parent | 23ddb7bde7496c183f6b9f1bd79b2b3a9b80d695 (diff) | |
parent | 1455364df2de79f3968e483776a84d8f81ca38b5 (diff) | |
download | gwtquery-bcbb6d45752a62ecceb581473b082e0d019173c7.tar.gz gwtquery-bcbb6d45752a62ecceb581473b082e0d019173c7.zip |
Merge pull request #259 from gwtquery/jd_fix_tests2
Yep, I had fixed the same in the branch I'm working on
-rw-r--r-- | gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryAjaxTestGwt.java | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryAjaxTestGwt.java b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryAjaxTestGwt.java index 695e1d01..65bd8c56 100644 --- a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryAjaxTestGwt.java +++ b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryAjaxTestGwt.java @@ -16,12 +16,6 @@ package com.google.gwt.query.client; -import static com.google.gwt.query.client.GQuery.$; - -import java.util.Arrays; -import java.util.Date; -import java.util.List; - import com.google.gwt.core.client.GWT; import com.google.gwt.dom.client.Element; import com.google.gwt.junit.DoNotRunWith; @@ -35,6 +29,12 @@ import com.google.gwt.query.client.plugins.ajax.Ajax.Settings; import com.google.gwt.user.client.ui.HTML; import com.google.gwt.user.client.ui.RootPanel; +import java.util.Arrays; +import java.util.Date; +import java.util.List; + +import static com.google.gwt.query.client.GQuery.$; + /** * Test class for testing ajax stuff. */ @@ -131,7 +131,8 @@ public class GQueryAjaxTestGwt extends GWTTestCase { c.setItems(Arrays.asList(items)); assertEquals(2000l, c.getItems().get(0).getDate().getTime()); assertEquals(3000l, c.getItems().get(1).getDate().getTime()); - String s = "{'M':0,'a':1,'b':{'a':2,'b':{'a':3}},'u':'url','d':1234,'t':['foo','bar'],'z':false,'y':'y','items':[{'date':2000},{'date':3000}]"; + String s = "{'M':0,'a':1,'b':{'a':2,'b':{'a':3}},'u':'url','d':1234,'t':['foo','bar']," + + "'z':false,'y':'y','items':[{'date':2000},{'date':3000}]}"; assertEquals(s, c.toString().replaceAll("\"", "'")); } |