protected function PHPUnit_TextUI_Command::showMessage

Shows a message.

Parameters

string $message:

boolean $exit:

1 call to PHPUnit_TextUI_Command::showMessage()
PHPUnit_TextUI_Command::showExtensionNotLoadedMessage in drupal/core/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php
@since Method available since Release 3.6.0

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php, line 814

Class

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

Code

protected function showMessage($message, $exit = TRUE) {
  PHPUnit_TextUI_TestRunner::printVersionString();
  print $message . "\n";
  if ($exit) {
    exit(PHPUnit_TextUI_TestRunner::EXCEPTION_EXIT);
  }
  else {
    print "\n";
  }
}