cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r616519 - in /cocoon/whiteboard/micro/misc/cocoon-webapp/src/test/java/org/apache/cocoon/micro/it: ReaderTest.java SaxPipelineTest.java
Date Tue, 29 Jan 2008 21:06:49 GMT
Author: reinhard
Date: Tue Jan 29 13:06:47 2008
New Revision: 616519

URL: http://svn.apache.org/viewvc?rev=616519&view=rev
Log:
remove check of content length because this value is server OS specific.

Modified:
    cocoon/whiteboard/micro/misc/cocoon-webapp/src/test/java/org/apache/cocoon/micro/it/ReaderTest.java
    cocoon/whiteboard/micro/misc/cocoon-webapp/src/test/java/org/apache/cocoon/micro/it/SaxPipelineTest.java

Modified: cocoon/whiteboard/micro/misc/cocoon-webapp/src/test/java/org/apache/cocoon/micro/it/ReaderTest.java
URL: http://svn.apache.org/viewvc/cocoon/whiteboard/micro/misc/cocoon-webapp/src/test/java/org/apache/cocoon/micro/it/ReaderTest.java?rev=616519&r1=616518&r2=616519&view=diff
==============================================================================
--- cocoon/whiteboard/micro/misc/cocoon-webapp/src/test/java/org/apache/cocoon/micro/it/ReaderTest.java
(original)
+++ cocoon/whiteboard/micro/misc/cocoon-webapp/src/test/java/org/apache/cocoon/micro/it/ReaderTest.java
Tue Jan 29 13:06:47 2008
@@ -41,7 +41,6 @@
     	this.loadResponse("read/javascript-resource-implicit");
     	assertTrue(this.response.getStatusCode() == 200);
     	assertEquals("application/x-javascript", this.response.getContentType());
-    	assertEquals("835", this.response.getResponseHeaderValue("Content-Length"));
     }
 
     /**

Modified: cocoon/whiteboard/micro/misc/cocoon-webapp/src/test/java/org/apache/cocoon/micro/it/SaxPipelineTest.java
URL: http://svn.apache.org/viewvc/cocoon/whiteboard/micro/misc/cocoon-webapp/src/test/java/org/apache/cocoon/micro/it/SaxPipelineTest.java?rev=616519&r1=616518&r2=616519&view=diff
==============================================================================
--- cocoon/whiteboard/micro/misc/cocoon-webapp/src/test/java/org/apache/cocoon/micro/it/SaxPipelineTest.java
(original)
+++ cocoon/whiteboard/micro/misc/cocoon-webapp/src/test/java/org/apache/cocoon/micro/it/SaxPipelineTest.java
Tue Jan 29 13:06:47 2008
@@ -66,7 +66,6 @@
         int statusCode = this.response.getStatusCode();
         String content = this.response.getContentAsString();
         assertTrue(statusCode == 401);
-        assertEquals("1024", this.response.getResponseHeaderValue("Content-Length"));
         String lastModified = this.response.getResponseHeaderValue("Last-Modified");
         assertNotNull(lastModified);
         assertFalse(lastModified.equals(""));



Mime
View raw message