commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject cvs commit: jakarta-commons-sandbox/jelly/src/test/org/apache/commons/jelly/xml dummy.xml suite.jelly
Date Thu, 19 Dec 2002 14:50:37 GMT
jstrachan    2002/12/19 06:50:37

  Modified:    jelly/src/test/org/apache/commons/jelly/xml suite.jelly
  Added:       jelly/src/test/org/apache/commons/jelly/xml dummy.xml
  Log:
  Added another unit test to ensure that the uri method of XML parsing works
  
  Revision  Changes    Path
  1.7       +6 -0      jakarta-commons-sandbox/jelly/src/test/org/apache/commons/jelly/xml/suite.jelly
  
  Index: suite.jelly
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/src/test/org/apache/commons/jelly/xml/suite.jelly,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- suite.jelly	13 Dec 2002 18:08:31 -0000	1.6
  +++ suite.jelly	19 Dec 2002 14:50:37 -0000	1.7
  @@ -5,6 +5,12 @@
   	xmlns:test="jelly:junit" 
   	xmlns:log="jelly:log">
   
  +	<test:case name="testUriParse">
  +		<x:parse var="doc" xml="dummy.xml"/>
  +		
  +		<test:assert xpath="$doc/dummy/entry[@id='2']"/>		
  +	</test:case>
  +	
     <test:case name="testElementAndAttribute">
     	
     	<x:parse var="doc">
  
  
  
  1.1                  jakarta-commons-sandbox/jelly/src/test/org/apache/commons/jelly/xml/dummy.xml
  
  Index: dummy.xml
  ===================================================================
  <?xml version="1.0"?>
  <dummy>
    <entry id="1">This is some sample XML</entry>
    <entry id="2">And some more XML</entry>
    <empty/>
  </dummy>  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message