code: private List<TestCaseModel> buildModel(List<AggregatedTestResultEvent> testEvents) {
      List<TestCaseModel> tests = new ArrayList<>();
      for (AggregatedTestResultEvent e : testEvents) {
        TestCaseModel model = new TestCaseModel();
  
        if (e.getStatus() == TestStatus.IGNORED ||
            e.getStatus() == TestStatus.IGNORED_ASSUMPTION) {
          if (mavenExtensions) {
            // This emits an empty <skipped /> element.
            model.skipped = "";
          } else {
            // No way to report these in pure ANT XML.
            continue;
          }
        }
  
        model.name = applyFilters(e.getDescription().getMethodName());
        model.classname = e.getDescription().getClassName();
        model.time = e.getExecutionTime() / 1000.0;
  
        for (FailureMirror m : e.getFailures()) {
          if (m.isAssumptionViolation()) {
            // Assumptions are not represented in ANT or Maven XMLs.
            continue;
          } else if (m.isAssertionViolation()) {
            model.failures.add(buildModel(m));
          } else {
            model.errors.add(buildModel(m));
          }
        }
  
        tests.add(model);
      }
      return tests;
    }
docs: /*