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

Breadcrumb

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

function ProgressPrinter::testFinished

File

vendor/phpunit/phpunit/src/TextUI/Output/Default/ProgressPrinter/ProgressPrinter.php, line 257

Class

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

Namespace

PHPUnit\TextUI\Output\Default\ProgressPrinter

Code

public function testFinished() : void {
    if ($this->status === null) {
        $this->printProgressForSuccess();
    }
    elseif ($this->status
        ->isSkipped()) {
        $this->printProgressForSkipped();
    }
    elseif ($this->status
        ->isIncomplete()) {
        $this->printProgressForIncomplete();
    }
    elseif ($this->status
        ->isRisky()) {
        $this->printProgressForRisky();
    }
    elseif ($this->status
        ->isNotice()) {
        $this->printProgressForNotice();
    }
    elseif ($this->status
        ->isDeprecation()) {
        $this->printProgressForDeprecation();
    }
    elseif ($this->status
        ->isWarning()) {
        $this->printProgressForWarning();
    }
    elseif ($this->status
        ->isFailure()) {
        $this->printProgressForFailure();
    }
    else {
        $this->printProgressForError();
    }
    $this->status = null;
    $this->prepared = false;
}
RSS feed
Powered by Drupal