Browse Source

JDM 1.5 compiler is much smarter than previous versions in the handling of

class references which should improve the performance of <depend>

The test has been changed to work with either, allowing eitehr one or two files
PR:	32557


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277263 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 20 years ago
parent
commit
1b83e94bf1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/testcases/org/apache/tools/ant/taskdefs/optional/depend/DependTest.java

+ 2
- 2
src/testcases/org/apache/tools/ant/taskdefs/optional/depend/DependTest.java View File

@@ -71,8 +71,8 @@ public class DependTest extends BuildFileTest {
public void testClosure() { public void testClosure() {
executeTarget("testclosure"); executeTarget("testclosure");
Hashtable files = getResultFiles(); Hashtable files = getResultFiles();
assertEquals("Depend did not leave correct number of files", 2,
files.size());
assertTrue("Depend did not leave correct number of files",
files.size() <= 2);
assertTrue("Result did not contain D.class", assertTrue("Result did not contain D.class",
files.containsKey("D.class")); files.containsKey("D.class"));
} }


Loading…
Cancel
Save