public function PHPUnit_Framework_TestResult::allHarmless in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/TestResult.php \PHPUnit_Framework_TestResult::allHarmless()
Returns true if no risky test occurred.
@since Method available since Release 4.0.0
Return value
bool
File
- vendor/
phpunit/ phpunit/ src/ Framework/ TestResult.php, line 363
Class
- PHPUnit_Framework_TestResult
- A TestResult collects the results of executing a test case.
Code
public function allHarmless() {
return $this
->riskyCount() == 0;
}