cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gkossakow...@apache.org
Subject svn commit: r615698 - in /cocoon/whiteboard/micro/misc/cocoon-webapp/src/test/java/org/apache/cocoon/micro/it: ReaderTest.java SaxPipelineTest.java
Date Mon, 28 Jan 2008 01:58:35 GMT
Author: gkossakowski
Date: Sun Jan 27 17:58:34 2008
New Revision: 615698

URL: http://svn.apache.org/viewvc?rev=615698&view=rev
Log:
Fixed expected length of content of Cocoon responses.

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=615698&r1=615697&r2=615698&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
Sun Jan 27 17:58:34 2008
@@ -41,7 +41,7 @@
     	this.loadResponse("read/javascript-resource-implicit");
     	assertTrue(this.response.getStatusCode() == 200);
     	assertEquals("application/x-javascript", this.response.getContentType());
-    	assertEquals("855", this.response.getResponseHeaderValue("Content-Length"));
+    	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=615698&r1=615697&r2=615698&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
Sun Jan 27 17:58:34 2008
@@ -66,7 +66,7 @@
         int statusCode = this.response.getStatusCode();
         String content = this.response.getContentAsString();
         assertTrue(statusCode == 401);
-        assertEquals("1030", this.response.getResponseHeaderValue("Content-Length"));
+        assertEquals("1024", this.response.getResponseHeaderValue("Content-Length"));
         String lastModified = this.response.getResponseHeaderValue("Last-Modified");
         assertNotNull(lastModified);
         assertFalse(lastModified.equals(""));



Mime
View raw message