You are here

protected function PHPUnit_TextUI_Command::handleBootstrap in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/TextUI/Command.php \PHPUnit_TextUI_Command::handleBootstrap()

Loads a bootstrap file.

Parameters

string $filename:

1 call to PHPUnit_TextUI_Command::handleBootstrap()
PHPUnit_TextUI_Command::handleArguments in vendor/phpunit/phpunit/src/TextUI/Command.php
Handles the command-line arguments.

File

vendor/phpunit/phpunit/src/TextUI/Command.php, line 761

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) {
    $this
      ->showError($e
      ->getMessage());
  }
}