/** * Adds a set of tests based on pattern matching. * * @return a new instance of a batch test. * @see BatchTest * @since Ant 1.2 */ public BatchTest createBatchTest() { final BatchTest test = new BatchTest(getProject()); batchTests.add(test); preConfigure(test); return test; }