protected function PHPUnit_TextUI_Command::showExtensionNotLoadedMessage

@since Method available since Release 3.6.0

Parameters

string $message:

1 call to PHPUnit_TextUI_Command::showExtensionNotLoadedMessage()
PHPUnit_TextUI_Command::handleArguments in drupal/core/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php
Handles the command-line arguments.

File

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

Class

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

Code

protected function showExtensionNotLoadedMessage($extension, $message = '') {
  if (isset($this->missingExtensions[$extension])) {
    return;
  }
  if (!empty($message)) {
    $message = ' ' . $message;
  }
  $this
    ->showMessage('The ' . $extension . ' extension is not loaded.' . $message . "\n", FALSE);
  $this->missingExtensions[$extension] = TRUE;
}