function endTests(success) {
  var duration = runnerStartTime == 0 ? 0 : performance.now() - runnerStartTime;
  console.log(
      'TEST all complete, status=' + (success ? 'PASS' : 'FAIL') +
      ', duration=' + Math.round(duration) + 'ms');
  testName = null;
  runnerStartTime = 0;
  domAutomationController.send(success ? 'SUCCESS' : 'FAILURE');
}
/**
 * Signals completion of a test.
 * @param {boolean} success Indicates if the test completed successfully.
 */
Signals completion of a test.
@param {boolean} success Indicates if the test completed successfully.
Signals completion of a test . @param { boolean } success Indicates if the test completed successfully .
function endTests(success) {
  var duration = runnerStartTime == 0 ? 0 : performance.now() - runnerStartTime;
  console.log(
      'TEST all complete, status=' + (success ? 'PASS' : 'FAIL') +
      ', duration=' + Math.round(duration) + 'ms');
  testName = null;
  runnerStartTime = 0;
  domAutomationController.send(success ? 'SUCCESS' : 'FAILURE');
}
function endTests ( success ) { var duration = runnerStartTime == 0 ? 0 : performance . now ( ) - runnerStartTime ; console . log ( 'TEST all complete, status=' + ( success ? 'PASS' : 'FAIL' ) + ', duration=' + Math . round ( duration ) + 'ms' ) ; testName = null ; runnerStartTime = 0 ; domAutomationController . send ( success ? 'SUCCESS' : 'FAILURE' ) ; }
Signals completion of a test.
Signals completion of a test .