qunitFailedAssertions[assertionIndex++] = (new QUnitAssertionImpl()).setFailed(true)
.setMessage(StringUtilities.trim(errorCause != null ? errorCause.toString() : null));
}
}
final QUnitTest qunitTestResult = (new QUnitTestImpl()).setModuleName(moduleName).setName(testName)
.setPassedAssertions(passedAssertions).setFailedAssertions(failedAssertions)
.setRunTime(runTime).setFailed(isQunitTestFailed(failedAssertions))
.setAssertions(qunitFailedAssertions);
results[qunitTestIndex++] = qunitTestResult;