diff -r 80c46ea076d3 -r a51c0d80ee24 javaquery/api/src/test/java/org/apidesign/bck2brwsr/htmlpage/JSONTest.java --- a/javaquery/api/src/test/java/org/apidesign/bck2brwsr/htmlpage/JSONTest.java Thu Apr 18 12:47:25 2013 +0200 +++ b/javaquery/api/src/test/java/org/apidesign/bck2brwsr/htmlpage/JSONTest.java Fri Nov 22 09:34:48 2013 +0100 @@ -281,31 +281,31 @@ assert Sex.FEMALE.equals(p.getSex()) : "Expecting FEMALE: " + p.getSex(); } - @Http(@Http.Resource( - content = "{'info':[{'firstName': 'Gitar', 'sex': 'FEMALE'}]}", - path="/people.json", - mimeType = "application/json" - )) - @BrwsrTest public void loadAndParseArrayInPeople() throws InterruptedException { - if (js == null) { - js = new JSONik(); - js.applyBindings(); - - js.fetchPeople("people.json"); - } - - if (0 == js.getFetchedCount()) { - throw new InterruptedException(); - } - - assert js.getFetchedCount() == 1 : "One person loaded: " + js.getFetchedCount(); - - Person p = js.getFetched(); - - assert p != null : "We should get our person back: " + p; - assert "Gitar".equals(p.getFirstName()) : "Expecting Gitar: " + p.getFirstName(); - assert Sex.FEMALE.equals(p.getSex()) : "Expecting FEMALE: " + p.getSex(); - } +// @Http(@Http.Resource( +// content = "{'info':[{'firstName': 'Gitar', 'sex': 'FEMALE'}]}", +// path="/people.json", +// mimeType = "application/json" +// )) +// @BrwsrTest public void loadAndParseArrayInPeople() throws InterruptedException { +// if (js == null) { +// js = new JSONik(); +// js.applyBindings(); +// +// js.fetchPeople("people.json"); +// } +// +// if (0 == js.getFetchedCount()) { +// throw new InterruptedException(); +// } +// +// assert js.getFetchedCount() == 1 : "One person loaded: " + js.getFetchedCount(); +// +// Person p = js.getFetched(); +// +// assert p != null : "We should get our person back: " + p; +// assert "Gitar".equals(p.getFirstName()) : "Expecting Gitar: " + p.getFirstName(); +// assert Sex.FEMALE.equals(p.getSex()) : "Expecting FEMALE: " + p.getSex(); +// } @Http(@Http.Resource( content = "{'age':[1, 2, 3]}",