1 | ds.setBasedir(new File(getProject().getBaseDir(), "tmp"));↵ | | 1 | ds.setBasedir(new File(getProject().getBaseDir(), "tmp"));↵
|
2 | ds.setIncludes(new String[] {"alpha/", "ALPHA/"});↵ | | 2 | ds.setIncludes(new String[] {"alpha/", "ALPHA/beta/"});↵
|
3 | ds.scan();↵ | | 3 | ds.scan();↵
|
4 | compareFiles(ds, new String[] {"alpha/beta/beta.xml",↵ | | 4 | compareFiles(ds, new String[] {"alpha/beta/beta.xml",↵
|
5 | "alpha/beta/gamma/gamma.xml"},↵ | | 5 | "alpha/beta/gamma/gamma.xml"},↵
|
6 | new String[] {"alpha", "alpha/beta", "alpha/beta/gamma"});↵ | | 6 | new String[] {"alpha", "alpha/beta", "alpha/beta/gamma"});↵
|
7 | }↵ | | 7 | }↵
|
|
8 | public void testPatternsDifferInCaseScanningInsensitive() {↵ | | 8 | public void testParentDiffersInCaseScanningInsensitive() {↵
|
9 | DirectoryScanner ds = new DirectoryScanner();↵ | | 9 | DirectoryScanner ds = new DirectoryScanner();↵
|
10 | ds.setBasedir(new File(getProject().getBaseDir(), "tmp"));↵ | | 10 | ds.setBasedir(new File(getProject().getBaseDir(), "tmp"));↵
|
11 | ds.setIncludes(new String[] {"alpha/", "ALPHA/"});↵ | | 11 | ds.setIncludes(new String[] {"alpha/", "ALPHA/beta/"});↵
|
12 | ds.setCaseSensitive(false);↵ | | 12 | ds.setCaseSensitive(false);↵
|
13 | ds.scan();↵ | | 13 | ds.scan();↵
|
14 | compareFiles(ds, new String[] {"alpha/beta/beta.xml",↵ | | 14 | compareFiles(ds, new String[] {"alpha/beta/beta.xml",↵
|
15 | "alpha/beta/gamma/gamma.xml"},↵ | | 15 | "alpha/beta/gamma/gamma.xml"},↵
|
16 | new String[] {"alpha", "alpha/beta", "alpha/beta/gamma"});↵ | | 16 | new String[] {"alpha", "alpha/beta", "alpha/beta/gamma"});↵
|
17 | | | 17 |
|