function PassedTests::isGreaterThan
File
-
vendor/
phpunit/ phpunit/ src/ Runner/ TestResult/ PassedTests.php, line 97
Class
- PassedTests
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\TestRunner\TestResultCode
public function isGreaterThan(string $method, TestSize $other) : bool {
if ($other->isUnknown()) {
return false;
}
assert($other instanceof Known);
$size = $this->passedTestMethods[$method]['size'];
if ($size->isUnknown()) {
return false;
}
assert($size instanceof Known);
return $size->isGreaterThan($other);
}