You are here

public function PHPUnit_Framework_TestSuite::runTest in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/TestSuite.php \PHPUnit_Framework_TestSuite::runTest()

Runs a test.

Parameters

PHPUnit_Framework_Test $test:

PHPUnit_Framework_TestResult $result:

File

vendor/phpunit/phpunit/src/Framework/TestSuite.php, line 772

Class

PHPUnit_Framework_TestSuite
A TestSuite is a composite of Tests. It runs a collection of test cases.

Code

public function runTest(PHPUnit_Framework_Test $test, PHPUnit_Framework_TestResult $result) {
  $test
    ->run($result);
}