jvanzyl     01/08/30 07:10:17

  Modified:    src/java/org/apache/velocity/test
                        TexenClasspathTestCase.java TexenTestCase.java
  Log:
  - update the comparisons to make sure the that file that generates
    output from the properties file is checked.
  
  Revision  Changes    Path
  1.3       +2 -1      
jakarta-velocity/src/java/org/apache/velocity/test/TexenClasspathTestCase.java
  
  Index: TexenClasspathTestCase.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-velocity/src/java/org/apache/velocity/test/TexenClasspathTestCase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TexenClasspathTestCase.java       2001/08/29 04:06:16     1.2
  +++ TexenClasspathTestCase.java       2001/08/30 14:10:17     1.3
  @@ -64,7 +64,7 @@
    * generative task and compares the output.
    *
    * @author <a href="mailto:[EMAIL PROTECTED]";>Jason van Zyl</a>
  - * @version $Id: TexenClasspathTestCase.java,v 1.2 2001/08/29 04:06:16 jvanzyl Exp $
  + * @version $Id: TexenClasspathTestCase.java,v 1.3 2001/08/30 14:10:17 jvanzyl Exp $
    */
   public class TexenClasspathTestCase 
       extends BaseTestCase
  @@ -112,6 +112,7 @@
               if (!isMatch(RESULTS_DIR,COMPARE_DIR,"TurbineWeather","java","java") ||
                   
!isMatch(RESULTS_DIR,COMPARE_DIR,"TurbineWeatherService","java","java") ||
                   !isMatch(RESULTS_DIR,COMPARE_DIR,"WeatherService","java","java") ||
  +                !isMatch(RESULTS_DIR,COMPARE_DIR,"book","txt","txt") ||
                   !isMatch(RESULTS_DIR,COMPARE_DIR,"Test","txt","txt"))
               {
                   fail("Output is incorrect!");
  
  
  
  1.6       +2 -1      
jakarta-velocity/src/java/org/apache/velocity/test/TexenTestCase.java
  
  Index: TexenTestCase.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-velocity/src/java/org/apache/velocity/test/TexenTestCase.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TexenTestCase.java        2001/08/29 01:56:43     1.5
  +++ TexenTestCase.java        2001/08/30 14:10:17     1.6
  @@ -64,7 +64,7 @@
    * generative task and compares the output.
    *
    * @author <a href="mailto:[EMAIL PROTECTED]";>Jason van Zyl</a>
  - * @version $Id: TexenTestCase.java,v 1.5 2001/08/29 01:56:43 jvanzyl Exp $
  + * @version $Id: TexenTestCase.java,v 1.6 2001/08/30 14:10:17 jvanzyl Exp $
    */
   public class TexenTestCase extends BaseTestCase
   {
  @@ -111,6 +111,7 @@
               if (!isMatch(RESULTS_DIR,COMPARE_DIR,"TurbineWeather","java","java") ||
                   
!isMatch(RESULTS_DIR,COMPARE_DIR,"TurbineWeatherService","java","java") ||
                   !isMatch(RESULTS_DIR,COMPARE_DIR,"WeatherService","java","java") ||
  +                !isMatch(RESULTS_DIR,COMPARE_DIR,"book","txt","txt") ||
                   !isMatch(RESULTS_DIR,COMPARE_DIR,"Test","txt","txt"))
               {
                   fail("Output is incorrect!");
  
  
  

Reply via email to