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:25:29 UTC

cvs commit: jakarta-commons/jelly/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit suite.jelly

dion        2004/09/07 22:25:29

  Modified:    jelly/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit
                        suite.jelly
  Log:
  detab
  
  Revision  Changes    Path
  1.4       +37 -37    jakarta-commons/jelly/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit/suite.jelly
  
  Index: suite.jelly
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit/suite.jelly,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- suite.jelly	1 Mar 2004 01:40:00 -0000	1.3
  +++ suite.jelly	8 Sep 2004 05:25:28 -0000	1.4
  @@ -22,36 +22,36 @@
       <test:assert test="${2 == 2}">This should never fail</test:assert>
       
       <j:catch var="ex">
  -			<test:assert test="${2 != 2}">This should always fail</test:assert>
  -		</j:catch>    	
  -	
  -		<test:assert test="${ex != null}">We should have created an exception</test:assert>
  -	
  -		The exception was: ${ex.message}	
  -	
  +            <test:assert test="${2 != 2}">This should always fail</test:assert>
  +        </j:catch>        
  +    
  +        <test:assert test="${ex != null}">We should have created an exception</test:assert>
  +    
  +        The exception was: ${ex.message}    
  +    
     </test:case>
   
   
     <test:case name="failTests">
     
  -		<j:catch var="ex">
  -			<test:fail>This should always fail</test:fail>
  -		</j:catch>    	
  -		
  -		<test:assert test="${ex != null}">We should have created an exception</test:assert>
  -		
  -		The exception was: ${ex.message}	
  -	
  +        <j:catch var="ex">
  +            <test:fail>This should always fail</test:fail>
  +        </j:catch>        
  +        
  +        <test:assert test="${ex != null}">We should have created an exception</test:assert>
  +        
  +        The exception was: ${ex.message}    
  +    
       <j:catch var="ex">
  -		  <test:fail message="This should always fail"/>
  -		</j:catch>    	
  -	
  -		<test:assert test="${ex != null}">We should have created an exception</test:assert>
  -		
  -		The exception was: ${ex.message}	
  +          <test:fail message="This should always fail"/>
  +        </j:catch>        
  +    
  +        <test:assert test="${ex != null}">We should have created an exception</test:assert>
  +        
  +        The exception was: ${ex.message}    
     </test:case>
   
  -	
  +    
     <test:case name="assertEqualTests">
     
       <j:set var="foo" value="abc"/>
  @@ -60,11 +60,11 @@
       
       <j:catch var="ex">
         <test:assertEquals actual="${foo}" expected="def">This should always fail</test:assertEquals>
  -		</j:catch>    	
  -		
  -		<test:assert test="${ex != null}">We should have created an exception</test:assert>
  -		
  -		The exception was: ${ex.message}	
  +        </j:catch>        
  +        
  +        <test:assert test="${ex != null}">We should have created an exception</test:assert>
  +        
  +        The exception was: ${ex.message}    
     </test:case>
   
   
  @@ -88,10 +88,10 @@
   
       <!-- test using undefined class -->
       <test:assertThrows expected="java.lang.ClassNotFoundException">
  -			<test:assertThrows expected="foo.bar.Baz">
  -				<test:fail message="This should always fail"/>
  -			</test:assertThrows>
  -		</test:assertThrows>
  +            <test:assertThrows expected="foo.bar.Baz">
  +                <test:fail message="This should always fail"/>
  +            </test:assertThrows>
  +        </test:assertThrows>
   
       <!-- test using other exception class -->
       <j:catch var="ex">
  @@ -100,7 +100,7 @@
         </test:assertThrows>
       </j:catch>
       
  -		<test:assert test="${ex != null}">We should have created an exception</test:assert>
  +        <test:assert test="${ex != null}">We should have created an exception</test:assert>
   
       <!-- test with no exception from body -->
       <j:catch var="ex">
  @@ -108,7 +108,7 @@
         </test:assertThrows>
       </j:catch>
       
  -		<test:assert test="${ex != null}">assertThrows should fail when nothing is thrown from within it</test:assert>
  +        <test:assert test="${ex != null}">assertThrows should fail when nothing is thrown from within it</test:assert>
           
       <test:assert test="${ex.message.endsWith('No exception was thrown.')}"/>
   
  @@ -119,12 +119,12 @@
     </test:case>
   
   <!--
  -	
  -	#### uncomment when assertEquals supports type conversions
  -	
  +    
  +    #### uncomment when assertEquals supports type conversions
  +    
     <test:case name="assertEqualsConversion">
     
  -		<test:assertEquals expected="${4}" actual="${2+2}"/>
  +        <test:assertEquals expected="${4}" actual="${2+2}"/>
   
     </test:case>
   -->
  
  
  

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