public static function PHPUnit_TextUI_TestRunner::showError

4 calls to PHPUnit_TextUI_TestRunner::showError()
PHPUnit_TextUI_Command::handleArguments in drupal/core/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php
Handles the command-line arguments.
PHPUnit_TextUI_Command::handleBootstrap in drupal/core/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php
Loads a bootstrap file.
PHPUnit_TextUI_Command::handleLoader in drupal/core/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php
Handles the loading of the PHPUnit_Runner_TestSuiteLoader implementation.
PHPUnit_TextUI_Command::handlePrinter in drupal/core/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php
Handles the loading of the PHPUnit_Util_Printer implementation.

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/TextUI/TestRunner.php, line 479

Class

PHPUnit_TextUI_TestRunner
A TestRunner for the Command Line Interface (CLI) PHP SAPI Module.

Code

public static function showError($message) {
  self::printVersionString();
  self::write($message . "\n");
  exit(self::FAILURE_EXIT);
}