ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/testcases/org/apache/tools/ant DirectoryScannerTest.java
Date Mon, 16 Jul 2001 06:36:44 GMT
bodewig     01/07/15 23:36:44

  Modified:    src/testcases/org/apache/tools/ant DirectoryScannerTest.java
  Log:
  Make test OS independant.
  
  Revision  Changes    Path
  1.2       +2 -3      jakarta-ant/src/testcases/org/apache/tools/ant/DirectoryScannerTest.java
  
  Index: DirectoryScannerTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/testcases/org/apache/tools/ant/DirectoryScannerTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DirectoryScannerTest.java	2001/07/12 13:02:47	1.1
  +++ DirectoryScannerTest.java	2001/07/16 06:36:44	1.2
  @@ -57,7 +57,6 @@
   import junit.framework.TestCase;
   import junit.framework.AssertionFailedError;
   import java.io.File;
  -import java.util.*;
   
   /**
    * JUnit 3 testcases for org.apache.tools.ant.DirectoryScanner
  @@ -84,7 +83,7 @@
           for (int i=0; i<included.length; i++) {
               if (included[i].equals("zip")) {
                   haveZipPackage = true;
  -            } else if (included[i].equals("ant/taskdefs")) {
  +            } else if (included[i].equals("ant"+File.separator+"taskdefs")) {
                   haveTaskdefsPackage = true;
               }
           }
  @@ -100,7 +99,7 @@
           for (int i=0; i<included.length; i++) {
               if (included[i].equals("zip")) {
                   haveZipPackage = true;
  -            } else if (included[i].equals("ant/taskdefs")) {
  +            } else if (included[i].equals("ant"+File.separator+"taskdefs")) {
                   haveTaskdefsPackage = true;
               }
           }
  
  
  

Mime
View raw message