printResult(testResult) {
    this.results.push(testResult);

    this.printString(testResult.timestamp.toISOString() + ': test case ' + testResult.testCaseName
      + ' is ' + testResult.resultType + (testResult.resultType === ResultType.passed ?
      '' : (' with exception: ' + testResult.exception.message + '; stack: ' + testResult.exception.stack)));
  }
/**
   * Prints a test result.
   * @param  {TestResult} testResult  the test result
   */
Prints a test result.
@param  {TestResult} testResult  the test result
Prints a test result . @param { TestResult } testResult the test result
printResult(testResult) {
    this.results.push(testResult);
    this.printString(testResult.timestamp.toISOString() + ': test case ' + testResult.testCaseName
      + ' is ' + testResult.resultType + (testResult.resultType === ResultType.passed ?
      '' : (' with exception: ' + testResult.exception.message + '; stack: ' + testResult.exception.stack)));
  }
printResult ( testResult ) { this . results . push ( testResult ) ; this . printString ( testResult . timestamp . toISOString ( ) + ': test case ' + testResult . testCaseName + ' is ' + testResult . resultType + ( testResult . resultType === ResultType . passed ? '' : ( ' with exception: ' + testResult . exception . message + '; stack: ' + testResult . exception . stack ) ) ) ; }
Prints a test result.
Prints a test result .