You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by mi...@apache.org on 2003/10/19 14:24:42 UTC
cvs commit: jakarta-tapestry/junit/src/org/apache/tapestry/junit/mock/simple Two.page
mindbridge 2003/10/19 05:24:42
Modified: junit/mock-scripts TestSimple.xml
junit/src/org/apache/tapestry/junit/mock/simple Two.page
Log:
unit tests for the new doctype parameter in Shell
Revision Changes Path
1.3 +14 -1 jakarta-tapestry/junit/mock-scripts/TestSimple.xml
Index: TestSimple.xml
===================================================================
RCS file: /home/cvs/jakarta-tapestry/junit/mock-scripts/TestSimple.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- TestSimple.xml 18 Mar 2003 20:55:29 -0000 1.2
+++ TestSimple.xml 19 Oct 2003 12:24:41 -0000 1.3
@@ -36,6 +36,13 @@
<match>/html</match>
</assert-output-matches>
+ <assert-output name="Shell DOCTYPE render">
+<![CDATA[
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+]]>
+ </assert-output>
+
+
<assert-output name="Shell title render">
<![CDATA[
<title>JUnit Simple Home Page</title>
@@ -66,6 +73,12 @@
]]>
</assert-output>
+ <assert-output name="Page Two Shell DOCTYPE render">
+<![CDATA[
+ <!DOCTYPE math SYSTEM "http://www.w3.org/Math/DTD/mathml1/mathml.dtd">
+]]>
+ </assert-output>
+
<assert-regexp name="Page Two: No message, yet">
<![CDATA[
<body>\s*<p>This page
1.3 +4 -1 jakarta-tapestry/junit/src/org/apache/tapestry/junit/mock/simple/Two.page
Index: Two.page
===================================================================
RCS file: /home/cvs/jakarta-tapestry/junit/src/org/apache/tapestry/junit/mock/simple/Two.page,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Two.page 1 Jun 2003 05:05:14 -0000 1.2
+++ Two.page 19 Oct 2003 12:24:41 -0000 1.3
@@ -8,6 +8,9 @@
<component id="shell" type="Shell">
<static-binding name="title" value="Page Two"/>
+ <static-binding name="doctype">
+ math SYSTEM "http://www.w3.org/Math/DTD/mathml1/mathml.dtd"
+ </static-binding>
</component>
<component id="body" type="Body"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org