- Timestamp:
- 10/26/12 09:13:34 (12 years ago)
- Location:
- trunk/autoquest-htmlmonitor-test/src/test/java/de/ugoe/cs/autoquest/htmlmonitor
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-htmlmonitor-test/src/test/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlMonitorServerTest.java
r927 r943 203 203 " \"path\":\"/html[0]/body(id=gsr)\"," + 204 204 " \"eventType\":\"onscroll\"," + 205 " \"scrollPosition\": \"165\"" +205 " \"scrollPosition\": [\"23\", \"567\"]" + 206 206 " }," + 207 207 " {" + … … 252 252 if ((i == 8)) { 253 253 assertNotNull("event " + i, events[i].getScrollPosition()); 254 assertEquals("event " + i, new Integer(165), events[i].getScrollPosition()); 254 assertArrayEquals 255 ("event " + i, new Integer[] { 23, 567 }, events[i].getScrollPosition()); 255 256 } 256 257 else { -
trunk/autoquest-htmlmonitor-test/src/test/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlMonitorTest.java
r927 r943 198 198 " \"path\":\"/html[0]/body(id=gsr)\"," + 199 199 " \"eventType\":\"onscroll\"," + 200 " \"scrollPosition\": \"165\"" +200 " \"scrollPosition\": [\"23\", \"567\"]" + 201 201 " }," + 202 202 " {" + … … 237 237 "onclick", "/html[0]/body(id=gsr)/input(id=input8)", "255,4"); 238 238 assertLogMessage(logEntries[8], clientId, "9", "Title", "http://host/path", "Agent", 239 "onscroll", "/html[0]/body(id=gsr)", " 165");239 "onscroll", "/html[0]/body(id=gsr)", "23,567"); 240 240 assertLogMessage(logEntries[9], clientId, "10", "Title", "http://host/path", "Agent", 241 241 "onclick", "/html[0]/body(id=gsr)/input(id=input10)", "516,154");
Note: See TracChangeset
for help on using the changeset viewer.