cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r417395 - /cocoon/branches/BRANCH_2_1_X/src/blocks/xsltal/test/htmlunit/org/apache/cocoon/XslTalTestCase.java
Date Tue, 27 Jun 2006 10:05:28 GMT
Author: bdelacretaz
Date: Tue Jun 27 03:05:27 2006
New Revision: 417395

URL: http://svn.apache.org/viewvc?rev=417395&view=rev
Log:
fixed out-of-sync test, passes now

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/xsltal/test/htmlunit/org/apache/cocoon/XslTalTestCase.java

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/xsltal/test/htmlunit/org/apache/cocoon/XslTalTestCase.java
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/blocks/xsltal/test/htmlunit/org/apache/cocoon/XslTalTestCase.java?rev=417395&r1=417394&r2=417395&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/xsltal/test/htmlunit/org/apache/cocoon/XslTalTestCase.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/xsltal/test/htmlunit/org/apache/cocoon/XslTalTestCase.java
Tue Jun 27 03:05:27 2006
@@ -33,7 +33,7 @@
         assertXPath("/html/head/title", pageTitle);
         assertXPath("/html/body/div[1]/@class", "content");
         assertXPath("/html/body/h1[1]", pageTitle);
-        assertXPath("/html/body/p[1]", "First paragraph of the test document.");
-        assertXPath("/html/body/p[2]", "Second paragraph of the test document.");
+        assertXPath("normalize-space(/html/body/div[1]/p[1])", "First paragraph of the test
document.");
+        assertXPath("normalize-space(/html/body/div[3])", "Presentation generated by the
plain-template.xml XSLTAL template.");
     }
 }



Mime
View raw message