You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2004/09/08 07:14:07 UTC
cvs commit: jakarta-commons/jelly/jelly-tags/betwixt/src/test/org/apache/commons/jelly/betwixt common.jelly suite.jelly
dion 2004/09/07 22:14:07
Modified: jelly/jelly-tags/betwixt/src/test/org/apache/commons/jelly/betwixt
common.jelly suite.jelly
Log:
detab
Revision Changes Path
1.4 +4 -4 jakarta-commons/jelly/jelly-tags/betwixt/src/test/org/apache/commons/jelly/betwixt/common.jelly
Index: common.jelly
===================================================================
RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/betwixt/src/test/org/apache/commons/jelly/betwixt/common.jelly,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- common.jelly 25 Feb 2004 06:19:19 -0000 1.3
+++ common.jelly 8 Sep 2004 05:14:07 -0000 1.4
@@ -19,10 +19,10 @@
<test:suite xmlns:j="jelly:core" xmlns:test="jelly:junit" xmlns:b="jelly:betwixt" xmlns:log="jelly:log">
- <log:info>Parsed channel with title: ${channel.title}</log:info>
-
+ <log:info>Parsed channel with title: ${channel.title}</log:info>
+
<test:assert test="${channel != null}"/>
-
+
<test:assertEquals actual="${channel.title}" expected="MozillaZine"/>
-
+
</test:suite>
1.3 +72 -72 jakarta-commons/jelly/jelly-tags/betwixt/src/test/org/apache/commons/jelly/betwixt/suite.jelly
Index: suite.jelly
===================================================================
RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/betwixt/src/test/org/apache/commons/jelly/betwixt/suite.jelly,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- suite.jelly 25 Feb 2004 06:19:19 -0000 1.2
+++ suite.jelly 8 Sep 2004 05:14:07 -0000 1.3
@@ -18,14 +18,14 @@
<b:introspector var="introspector"
attributesForPrimitives="false" elementNameMapper="lowercase"/>
-
+
<test:case name="rssParseViaURI">
<b:parse var="channel"
- uri="rss-example.xml"
- introspector="${introspector}"
- rootClass="org.apache.commons.digester.rss.Channel"
- path="rss/channel"/>
+ uri="rss-example.xml"
+ introspector="${introspector}"
+ rootClass="org.apache.commons.digester.rss.Channel"
+ path="rss/channel"/>
<j:include uri="common.jelly"/>
</test:case>
@@ -33,75 +33,75 @@
<test:case name="rssParseViaTagBody">
<b:parse var="channel"
- introspector="${introspector}"
- rootClass="org.apache.commons.digester.rss.Channel"
- path="rss/channel">
-
- <rss version="0.91">
-
- <channel>
-
- <title>MozillaZine</title>
- <link>http://www.mozillazine.org</link>
- <description>Your source for Mozilla news, advocacy,
- interviews, builds, and more!</description>
- <language>en-US</language>
- <rating>(PICS-1.1 "http://www.rsac.org/ratingsv01.html"
- 2 gen true comment "RSACi North America Server"
- for "http://www.rsac.org" on "1996.04.16T08:15-0500"
- r (n 0 s 0 v 0 l 0))</rating>
-
- <image>
- <title>MozillaZine</title>
- <url>http://www.mozillazine.org/image/mynetscape88.gif</url>
- <link>http://www.mozillazine.org</link>
- <width>88</width>
- <height>31</height>
- <description>Articles, discussions, builds, and more...</description>
- </image>
-
- <item>
- <title>Java2 in Navigator 5?</title>
- <link>http://www.mozillazine.org/talkback.html?article=607</link>
- <description>Will Java2 be an integrated part of Navigator 5?
- Read more about it in this discussion...</description>
- </item>
-
- <item>
- <title>Communicator 4.61 Out</title>
- <link>http://www.mozillazine.org/talkback.html?article=606</link>
- <description>The latest version of Communicator is now
- available. It includes security enhancements
- and various bug fixes.</description>
- </item>
-
- <item>
- <title>Mozilla Dispenses with Old,
- Proprietary DOM</title>
- <link>http://www.mozillazine.org/talkback.html?article=604</link>
- </item>
-
- <item>
- <title>The Animation Contest is Now Closed</title>
- <link>http://www.mozillazine.org/talkback.html?article=603</link>
- </item>
-
- <textinput>
- <title>Send</title>
- <description>Comments about MozillaZine?</description>
- <name>responseText</name>
- <link>http://www.mozillazine.org/cgi-bin/sampleonly.cgi</link>
- </textinput>
-
- <skipDays>
- <day>Tuesday</day>
- </skipDays>
- </channel>
-
- </rss>
+ introspector="${introspector}"
+ rootClass="org.apache.commons.digester.rss.Channel"
+ path="rss/channel">
+
+ <rss version="0.91">
+
+ <channel>
+
+ <title>MozillaZine</title>
+ <link>http://www.mozillazine.org</link>
+ <description>Your source for Mozilla news, advocacy,
+ interviews, builds, and more!</description>
+ <language>en-US</language>
+ <rating>(PICS-1.1 "http://www.rsac.org/ratingsv01.html"
+ 2 gen true comment "RSACi North America Server"
+ for "http://www.rsac.org" on "1996.04.16T08:15-0500"
+ r (n 0 s 0 v 0 l 0))</rating>
+
+ <image>
+ <title>MozillaZine</title>
+ <url>http://www.mozillazine.org/image/mynetscape88.gif</url>
+ <link>http://www.mozillazine.org</link>
+ <width>88</width>
+ <height>31</height>
+ <description>Articles, discussions, builds, and more...</description>
+ </image>
+
+ <item>
+ <title>Java2 in Navigator 5?</title>
+ <link>http://www.mozillazine.org/talkback.html?article=607</link>
+ <description>Will Java2 be an integrated part of Navigator 5?
+ Read more about it in this discussion...</description>
+ </item>
+
+ <item>
+ <title>Communicator 4.61 Out</title>
+ <link>http://www.mozillazine.org/talkback.html?article=606</link>
+ <description>The latest version of Communicator is now
+ available. It includes security enhancements
+ and various bug fixes.</description>
+ </item>
+
+ <item>
+ <title>Mozilla Dispenses with Old,
+ Proprietary DOM</title>
+ <link>http://www.mozillazine.org/talkback.html?article=604</link>
+ </item>
+
+ <item>
+ <title>The Animation Contest is Now Closed</title>
+ <link>http://www.mozillazine.org/talkback.html?article=603</link>
+ </item>
+
+ <textinput>
+ <title>Send</title>
+ <description>Comments about MozillaZine?</description>
+ <name>responseText</name>
+ <link>http://www.mozillazine.org/cgi-bin/sampleonly.cgi</link>
+ </textinput>
+
+ <skipDays>
+ <day>Tuesday</day>
+ </skipDays>
+ </channel>
+
+ </rss>
</b:parse>
-
+
<j:include uri="common.jelly"/>
</test:case>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org