You are here

public function PHPUnit_TextUI_TestRunner::getLoader in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/TextUI/TestRunner.php \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

vendor/phpunit/phpunit/src/TextUI/TestRunner.php, line 582

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;
}