Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PassedTests.php

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\TestResult

Code

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);
}
RSS feed
Powered by Drupal