_testCaseFileNames.add(fileName);
<BUG>_testCaseNames.add(_getName(fileName));
</BUG>
_testCaseRootElements.put(fileName, _getRootElement(fileName));
}
<BUG>else if (fileName.endsWith(".testsuite")) {
_testSuiteClassNames.add(_getClassName(fileName));</BUG>
_testSuiteFileNames.add(fileName);
<BUG>_testSuiteNames.add(_getName(fileName));
</BUG>
_testSuiteRootElements.put(fileName, _getRootElement(fileName));

_testCaseFileNames.add(fileName);
_testCaseNames.add(testCaseName);
_testCaseRootElements.put(fileName, _getRootElement(fileName));
}
else if (fileName.endsWith(".testsuite")) {
String testSuiteName = _getName(fileName);
if (_testSuiteNames.contains(testSuiteName)) {
throw new Exception(
"Duplicate name " + testSuiteName + " at " + fileName);
}
_testSuiteClassNames.add(_getClassName(fileName));
_testSuiteFileNames.add(fileName);
_testSuiteNames.add(testSuiteName);
