assertEquals(2, subdirectories.size());
assertTrue(subdirectories.contains(new File(root, "impala")));
}
public void testCheckArgs() {
task = new AntForeachTask();
doFail("'values' property not specified");
task.setProjects("value1,value2");
doFail("'dir' property not specified");
task.setDir(new File("a file that does not exit"));
doFail("'dir' does not exist");