commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: jakarta-commons/jelly/jelly-tags/xmlunit/src/test/org/apache/commons/jelly/tags/xmlunit suite.jelly
Date Wed, 08 Sep 2004 05:36:00 GMT
dion        2004/09/07 22:36:00

  Modified:    jelly/jelly-tags/xmlunit/src/test/org/apache/commons/jelly/tags/xmlunit
                        suite.jelly
  Log:
  detab
  
  Revision  Changes    Path
  1.4       +85 -85    jakarta-commons/jelly/jelly-tags/xmlunit/src/test/org/apache/commons/jelly/tags/xmlunit/suite.jelly
  
  Index: suite.jelly
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/xmlunit/src/test/org/apache/commons/jelly/tags/xmlunit/suite.jelly,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- suite.jelly	1 Mar 2004 13:29:16 -0000	1.3
  +++ suite.jelly	8 Sep 2004 05:36:00 -0000	1.4
  @@ -15,92 +15,92 @@
     limitations under the License.
   -->
   <test:suite 
  -	xmlns:j="jelly:core" 
  -	xmlns:x="jelly:xml" 
  -	xmlns:test="jelly:junit" 
  -	xmlns:xu="jelly:xmlunit">
  -
  -	<test:case name="illegalArgument">
  -
  -		<j:catch var="ex">
  -			<j:new var="illegalDoc" className="java.util.ArrayList"/>
  -			<xu:assertDocumentsEqual actual="${illegalDoc}">
  -				<xu:expected/>
  -			</xu:assertDocumentsEqual>
  -		</j:catch>
  -
  -		<test:assert test="${ex != null}">An exception should have been thrown</test:assert>
  -		The exception was ${ex.message}
  -
  -	</test:case>
  -
  -	<test:case name="emptyDocuments">
  -
  -		<xu:assertDocumentsEqual>
  -			<xu:actual/>
  -			<xu:expected/>
  -		</xu:assertDocumentsEqual>
  -
  -	</test:case>
  -
  -	<test:case name="sameDocument">
  -
  -		<x:parse var="doc">
  -			<testDoc/>
  -		</x:parse>
  -
  -		<xu:assertDocumentsEqual actual="${doc}" expected="${doc}"/>
  -
  -		<xu:assertDocumentsEqual expected="${doc}">
  -			<xu:actual>
  -				<testDoc/>
  -			</xu:actual>
  -		</xu:assertDocumentsEqual>
  -
  -	</test:case>
  -
  -	<test:case name="differentDocuments">
  -
  -		<j:catch var="ex">
  -			<x:parse var="doc1">
  -				<testDoc1/>
  -			</x:parse>
  -			<x:parse var="doc2">
  -				<testDoc2/>
  -			</x:parse>
  -			<xu:assertDocumentsEqual actual="${doc1}" expected="${doc2}"/>
  -		</j:catch>
  -
  -		<test:assert test="${ex != null}">An exception should have been thrown</test:assert>
  -		The exception was ${ex.message}
  -
  -	</test:case>
  -
  -	<test:case name="ignoreWhitespace">
  -
  -		<xu:assertDocumentsEqual trim="false" ignoreWhitespace="true">
  -			<xu:actual>
  -				<apa> </apa>
  -			</xu:actual>
  -			<xu:expected>
  -				<apa/>
  -			</xu:expected>
  -		</xu:assertDocumentsEqual>
  -
  -		<j:catch var="ex">
  -			<xu:assertDocumentsEqual trim="false">
  -				<xu:actual>
  -					<apa> </apa>
  -				</xu:actual>
  -				<xu:expected>
  -					<apa/>
  -				</xu:expected>
  -			</xu:assertDocumentsEqual>
  -		</j:catch>
  +    xmlns:j="jelly:core" 
  +    xmlns:x="jelly:xml" 
  +    xmlns:test="jelly:junit" 
  +    xmlns:xu="jelly:xmlunit">
  +
  +    <test:case name="illegalArgument">
  +
  +        <j:catch var="ex">
  +            <j:new var="illegalDoc" className="java.util.ArrayList"/>
  +            <xu:assertDocumentsEqual actual="${illegalDoc}">
  +                <xu:expected/>
  +            </xu:assertDocumentsEqual>
  +        </j:catch>
  +
  +        <test:assert test="${ex != null}">An exception should have been thrown</test:assert>
  +        The exception was ${ex.message}
  +
  +    </test:case>
  +
  +    <test:case name="emptyDocuments">
  +
  +        <xu:assertDocumentsEqual>
  +            <xu:actual/>
  +            <xu:expected/>
  +        </xu:assertDocumentsEqual>
  +
  +    </test:case>
  +
  +    <test:case name="sameDocument">
  +
  +        <x:parse var="doc">
  +            <testDoc/>
  +        </x:parse>
  +
  +        <xu:assertDocumentsEqual actual="${doc}" expected="${doc}"/>
  +
  +        <xu:assertDocumentsEqual expected="${doc}">
  +            <xu:actual>
  +                <testDoc/>
  +            </xu:actual>
  +        </xu:assertDocumentsEqual>
  +
  +    </test:case>
  +
  +    <test:case name="differentDocuments">
  +
  +        <j:catch var="ex">
  +            <x:parse var="doc1">
  +                <testDoc1/>
  +            </x:parse>
  +            <x:parse var="doc2">
  +                <testDoc2/>
  +            </x:parse>
  +            <xu:assertDocumentsEqual actual="${doc1}" expected="${doc2}"/>
  +        </j:catch>
  +
  +        <test:assert test="${ex != null}">An exception should have been thrown</test:assert>
  +        The exception was ${ex.message}
  +
  +    </test:case>
  +
  +    <test:case name="ignoreWhitespace">
  +
  +        <xu:assertDocumentsEqual trim="false" ignoreWhitespace="true">
  +            <xu:actual>
  +                <apa> </apa>
  +            </xu:actual>
  +            <xu:expected>
  +                <apa/>
  +            </xu:expected>
  +        </xu:assertDocumentsEqual>
  +
  +        <j:catch var="ex">
  +            <xu:assertDocumentsEqual trim="false">
  +                <xu:actual>
  +                    <apa> </apa>
  +                </xu:actual>
  +                <xu:expected>
  +                    <apa/>
  +                </xu:expected>
  +            </xu:assertDocumentsEqual>
  +        </j:catch>
   
  -		<test:assert test="${ex != null}">An exception should have been thrown</test:assert>
  -		The exception was ${ex.message}
  +        <test:assert test="${ex != null}">An exception should have been thrown</test:assert>
  +        The exception was ${ex.message}
   
  -	</test:case>
  +    </test:case>
   
   </test:suite>
  
  
  

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


Mime
View raw message