public function PHPUnit_TextUI_TestRunner::getLoader

Returns the loader to be used.

@since Method available since Release 2.2.0

Return value

PHPUnit_Runner_TestSuiteLoader

Overrides PHPUnit_Runner_BaseTestRunner::getLoader

File

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

Class

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

Code

public function getLoader() {
  if ($this->loader === NULL) {
    $this->loader = new PHPUnit_Runner_StandardTestSuiteLoader();
  }
  return $this->loader;
}