{
return tcList.getList().size();
}
public void openXmlFilesAndDirectories(File[] files) throws Exception {
TestCaseList testCaseList = createTestCaseList(files);
PrecisionModel precisionModel = new PrecisionModel();
if (!testCaseList.getList().isEmpty()) {
TestRunnerTestCaseAdapter a = (TestRunnerTestCaseAdapter) testCaseList.getList().get(0);
precisionModel = a.getTestRunnerTestCase().getTestRun().getPrecisionModel();
}
if (tcList.getList().size() == 1
&& ((Testable) tcList.getList().get(0)).getGeometry(0) == null
&& ((Testable) tcList.getList().get(0)).getGeometry(1) == null) {
loadTestCaseList(testCaseList, precisionModel);
}
else {
TestCaseList newList = new TestCaseList();
newList.add(tcList);
newList.add(testCaseList);
loadTestCaseList(newList, precisionModel);
}
}