riskyCount() 공개 메소드

Gets the number of risky tests.
public riskyCount ( ) : integer
리턴 integer
 /**
  * Prints final results when all tests ended.
  *
  * PHPUnit_TextUI_ResultPrinter compatible
  *
  * @return void
  */
 public function printFooter(\PHPUnit_Framework_TestResult $result)
 {
     $testCount = $result->count();
     $assertionCount = $this->numAssertions;
     $failureCount = $result->failureCount();
     $errorCount = $result->errorCount();
     $incompleteCount = $result->notImplementedCount();
     $skipCount = $result->skippedCount();
     $riskyCount = $result->riskyCount();
     $resultStatus = $errorCount + $failureCount ? 'KO' : 'OK';
     $resultMessage = sprintf('Results %s. ', $resultStatus) . $this->formatCounters($testCount, $assertionCount, $failureCount, $errorCount, $incompleteCount, $skipCount, $riskyCount);
     $context = array('operation' => __FUNCTION__, 'status' => $resultStatus, 'testCount' => $testCount, 'assertionCount' => $assertionCount, 'failureCount' => $failureCount, 'errorCount' => $errorCount, 'incompleteCount' => $incompleteCount, 'skipCount' => $skipCount, 'riskyCount' => $riskyCount);
     $this->logger->notice($resultMessage, $context);
 }