You are here

protected function PHPUnit_Runner_BaseTestRunner::loadSuiteClass in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/phpunit/src/Runner/BaseTestRunner.php \PHPUnit_Runner_BaseTestRunner::loadSuiteClass()

Returns the loaded ReflectionClass for a suite name.

Parameters

string $suiteClassName:

string $suiteClassFile:

Return value

ReflectionClass

1 call to PHPUnit_Runner_BaseTestRunner::loadSuiteClass()
PHPUnit_Runner_BaseTestRunner::getTest in vendor/phpunit/phpunit/src/Runner/BaseTestRunner.php
Returns the Test corresponding to the given suite. This is a template method, subclasses override the runFailed() and clearStatus() methods.

File

vendor/phpunit/phpunit/src/Runner/BaseTestRunner.php, line 117

Class

PHPUnit_Runner_BaseTestRunner
Base class for all test runners.

Code

protected function loadSuiteClass($suiteClassName, $suiteClassFile = '') {
  $loader = $this
    ->getLoader();
  return $loader
    ->load($suiteClassName, $suiteClassFile);
}