NodeList testCases = document.getElementsByTagName("testcase");
for (int i = 0; i < testCases.getLength(); i++) {
Element testCase = (Element) testCases.item(i);
String className = testCase.getAttribute("classname");
String testName = testCase.getAttribute("name");
LocaleSafeDecimalFormat format = new LocaleSafeDecimalFormat();
BigDecimal duration = format.parse(testCase.getAttribute("time"));
duration = duration.multiply(BigDecimal.valueOf(1000));
NodeList failures = testCase.getElementsByTagName("failure");
TestResult testResult = model.addTest(className, testName, duration.longValue(),
deviceName, projectName, flavorName);
for (int j = 0; j < failures.getLength(); j++) {