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

Breadcrumb

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

function Finished::asString

Same name in this branch
  1. 11.1.x vendor/phpunit/phpunit/src/Event/Events/Application/Finished.php \PHPUnit\Event\Application\Finished::asString()
  2. 11.1.x vendor/phpunit/phpunit/src/Event/Events/Test/Lifecycle/Finished.php \PHPUnit\Event\Test\Finished::asString()
  3. 11.1.x vendor/phpunit/phpunit/src/Event/Events/TestRunner/Finished.php \PHPUnit\Event\TestRunner\Finished::asString()

Overrides Event::asString

File

vendor/phpunit/phpunit/src/Event/Events/TestSuite/Finished.php, line 42

Class

Finished
@psalm-immutable

Namespace

PHPUnit\Event\TestSuite

Code

public function asString() : string {
    return sprintf('Test Suite Finished (%s, %d test%s)', $this->testSuite
        ->name(), $this->testSuite
        ->count(), $this->testSuite
        ->count() !== 1 ? 's' : '');
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal