ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject cvs commit: ant/src/testcases/org/apache/tools/ant/types/optional/depend ClassFileSetTest.java
Date Tue, 24 Jun 2003 21:20:04 GMT
antoine     2003/06/24 14:20:04

  Modified:    src/testcases/org/apache/tools/ant/types/optional/depend
                        ClassFileSetTest.java
  Log:
  Make ClassFileSetTest pass under Windows.
  Scanned files are represented with File.separator, not with a slash under Windows
  
  Revision  Changes    Path
  1.6       +8 -8      ant/src/testcases/org/apache/tools/ant/types/optional/depend/ClassFileSetTest.java
  
  Index: ClassFileSetTest.java
  ===================================================================
  RCS file: /home/cvs/ant/src/testcases/org/apache/tools/ant/types/optional/depend/ClassFileSetTest.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ClassFileSetTest.java	15 Apr 2003 06:03:09 -0000	1.5
  +++ ClassFileSetTest.java	24 Jun 2003 21:20:04 -0000	1.6
  @@ -201,13 +201,13 @@
           }
           assertEquals("Classfileset did not pick up expected number of "
               + "class files", 4, files.size());
  -        assertTrue("Result did not contain test/Outer$Inner.class",
  -            files.containsKey("test/Outer$Inner.class"));
  -        assertTrue("Result did not contain test/Outer.class",
  -            files.containsKey("test/Outer.class"));
  -        assertTrue("Result did not contain test/ContainsOnlyInner.class",
  -            files.containsKey("test/ContainsOnlyInner.class"));
  -        assertTrue("Result did not contain test/ContainsOnlyInner.class",
  -            files.containsKey("test/MethodParam.class"));            
  +        assertTrue("Result did not contain test" + File.separator + "Outer$Inner.class",
  +            files.containsKey("test" + File.separator + "Outer$Inner.class"));
  +        assertTrue("Result did not contain test" + File.separator + "Outer.class",
  +            files.containsKey("test" + File.separator + "Outer.class"));
  +        assertTrue("Result did not contain test" + File.separator + "ContainsOnlyInner.class",
  +            files.containsKey("test" + File.separator + "ContainsOnlyInner.class"));
  +        assertTrue("Result did not contain test" + File.separator + "ContainsOnlyInner.class",
  +            files.containsKey("test" + File.separator + "MethodParam.class"));
       }
   }
  
  
  

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


Mime
View raw message