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

Breadcrumb

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

function PassedTests::testMethodPassed

File

vendor/phpunit/phpunit/src/Runner/TestResult/PassedTests.php, line 58

Class

PassedTests
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit

Namespace

PHPUnit\TestRunner\TestResult

Code

public function testMethodPassed(TestMethod $test, mixed $returnValue) : void {
    $size = (new Groups())->size($test->className(), $test->methodName());
    $this->passedTestMethods[$test->className() . '::' . $test->methodName()] = [
        'returnValue' => $returnValue,
        'size' => $size,
    ];
}
RSS feed
Powered by Drupal