1 | for (int idx = 0; idx < TESTDATA.length; idx++) {↵ | | 1 | for (int idx = 0; idx < TESTDATA.length; idx++) {↵
|
2 | TestData td = TESTDATA[idx];↵ | | 2 | TestData td = TESTDATA[idx];↵
|
3 | String theFile = td.file;↵ | | 3 | String theFile = td.file;↵
|
4 | boolean expect = td.exclfile;↵ | | 4 | boolean expect = td.inclfile;↵
|
|
5 | testf.isFiltered(theFile,null);↵ | | 5 | testf.isFiltered(theFile,null);↵
|
6 | String line = testf.filter(theFile);↵ | | 6 | String line = testf.filter(theFile);↵
|
7 | if (line != null) {↵ | | 7 | if (line != null) {↵
|
8 | assertTrue("Expect to accept " + theFile, expect);↵ | | 8 | assertTrue("Expect to accept " + theFile, expect);↵
|
9 | } else {↵ | | 9 | } else {↵
|
10 | assertFalse("Expect to reject " + theFile, expect);↵ | | 10 | assertFalse("Expect to reject " + theFile, expect);↵
|
11 | | | 11 |
|