cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r884446 - in /cocoon/cocoon3/trunk/cocoon-sample-webapp/src/test/java/org/apache/cocoon/it: RedirectTest.java SaxPipelineTest.java ServletServiceTest.java
Date Thu, 26 Nov 2009 07:59:11 GMT
Author: reinhard
Date: Thu Nov 26 07:59:10 2009
New Revision: 884446

URL: http://svn.apache.org/viewvc?rev=884446&view=rev
Log:
test {jexl:cocoon.request.ssf}

Modified:
    cocoon/cocoon3/trunk/cocoon-sample-webapp/src/test/java/org/apache/cocoon/it/RedirectTest.java
    cocoon/cocoon3/trunk/cocoon-sample-webapp/src/test/java/org/apache/cocoon/it/SaxPipelineTest.java
    cocoon/cocoon3/trunk/cocoon-sample-webapp/src/test/java/org/apache/cocoon/it/ServletServiceTest.java

Modified: cocoon/cocoon3/trunk/cocoon-sample-webapp/src/test/java/org/apache/cocoon/it/RedirectTest.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sample-webapp/src/test/java/org/apache/cocoon/it/RedirectTest.java?rev=884446&r1=884445&r2=884446&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sample-webapp/src/test/java/org/apache/cocoon/it/RedirectTest.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-sample-webapp/src/test/java/org/apache/cocoon/it/RedirectTest.java
Thu Nov 26 07:59:10 2009
@@ -37,6 +37,6 @@
         this.loadXmlPage("redirect/sax-pipeline/simple-xml");
         assertEquals(200, this.response.getStatusCode());
         assertEquals("text/xml", this.response.getContentType());
-        this.assertXPath("/html/body/p", "3");
+        this.assertXPath("/html/body/p", "3-true");
     }
 }

Modified: cocoon/cocoon3/trunk/cocoon-sample-webapp/src/test/java/org/apache/cocoon/it/SaxPipelineTest.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sample-webapp/src/test/java/org/apache/cocoon/it/SaxPipelineTest.java?rev=884446&r1=884445&r2=884446&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sample-webapp/src/test/java/org/apache/cocoon/it/SaxPipelineTest.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-sample-webapp/src/test/java/org/apache/cocoon/it/SaxPipelineTest.java
Thu Nov 26 07:59:10 2009
@@ -49,7 +49,7 @@
         this.loadXmlPage("/sax-pipeline/simple-xml");
         assertTrue(this.response.getStatusCode() == 200);
         assertEquals("text/xml", this.response.getContentType());
-        this.assertXPath("/html/body/p", "3");
+        this.assertXPath("/html/body/p", "3-false");
     }
 
     /**

Modified: cocoon/cocoon3/trunk/cocoon-sample-webapp/src/test/java/org/apache/cocoon/it/ServletServiceTest.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sample-webapp/src/test/java/org/apache/cocoon/it/ServletServiceTest.java?rev=884446&r1=884445&r2=884446&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sample-webapp/src/test/java/org/apache/cocoon/it/ServletServiceTest.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-sample-webapp/src/test/java/org/apache/cocoon/it/ServletServiceTest.java
Thu Nov 26 07:59:10 2009
@@ -25,7 +25,7 @@
         this.loadXmlPage("ssf/local");
         assertTrue(this.response.getStatusCode() == 200);
         assertEquals("text/xml", this.response.getContentType());
-        this.assertXPath("/html/body/p", "3");
+        this.assertXPath("/html/body/p[1]", "3-true");
     }
 
     public void testSimpleServletServiceCallingAResource() throws Exception {
@@ -47,12 +47,12 @@
         this.loadXmlPage("ssf/calling-a-transformer-servlet-service");
         assertTrue(this.response.getStatusCode() == 200);
         assertEquals("text/xml", this.response.getContentType());
-        this.assertXPath("/html/body/p", "transformer-pipeline");
+        this.assertXPath("/html/body/p[1]", "transformer-pipeline");
     }
 
     public void testCallingASerializerServletService() throws Exception {
         this.loadXmlPage("ssf/calling-a-serializer-servlet-service");
-        assertTrue(this.response.getStatusCode() == 200);
+        assertTrue(this.response.getStatusCode() == 210);
         assertEquals("text/xml", this.response.getContentType());
         this.assertXPath("/html/body/p", "serializer-pipeline");
     }



Mime
View raw message