protected function PHPUnit_TextUI_Command::handleBootstrap

Loads a bootstrap file.

Parameters

string $filename:

1 call to PHPUnit_TextUI_Command::handleBootstrap()
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 775

Class

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

Code

protected function handleBootstrap($filename) {
  try {
    PHPUnit_Util_Fileloader::checkAndLoad($filename);
  } catch (PHPUnit_Framework_Exception $e) {
    PHPUnit_TextUI_TestRunner::showError($e
      ->getMessage());
  }
}