Changeset 1245 for trunk/autoquest-htmlmonitor-test/src/test/java/de
- Timestamp:
- 06/28/13 15:47:03 (11 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
r1078 r1245 594 594 assertEquals(200, response.getStatusLine().getStatusCode()); 595 595 assertTrue 596 ((response.getEntity() == null) || (response.getEntity().getContentLength() == 0)); 596 ((response.getEntity() == null) || (response.getEntity().getContentLength() == 0) || 597 ((response.getEntity().getContentLength() == 1) && 598 (response.getEntity().getContent().read() == ' '))); 597 599 } 598 600 finally { -
trunk/autoquest-htmlmonitor-test/src/test/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlMonitorTest.java
r1229 r1245 782 782 assertEquals(200, response.getStatusLine().getStatusCode()); 783 783 assertTrue 784 ((response.getEntity() == null) || (response.getEntity().getContentLength() == 0)); 784 ((response.getEntity() == null) || (response.getEntity().getContentLength() == 0) || 785 ((response.getEntity().getContentLength() == 1) && 786 (response.getEntity().getContent().read() == ' '))); 785 787 } 786 788 finally {
Note: See TracChangeset
for help on using the changeset viewer.