public function PHPUnit_Framework_Test::run

Runs a test and collects its result in a TestResult instance.

Parameters

PHPUnit_Framework_TestResult $result:

Return value

PHPUnit_Framework_TestResult

5 methods override PHPUnit_Framework_Test::run()
DoubleTestCase::run in drupal/core/vendor/phpunit/phpunit/Tests/_files/DoubleTestCase.php
Runs a test and collects its result in a TestResult instance.
PHPUnit_Extensions_PhptTestCase::run in drupal/core/vendor/phpunit/phpunit/PHPUnit/Extensions/PhptTestCase.php
Runs a test and collects its result in a TestResult instance.
PHPUnit_Extensions_TestDecorator::run in drupal/core/vendor/phpunit/phpunit/PHPUnit/Extensions/TestDecorator.php
Runs the decorated test and collects the result in a TestResult.
PHPUnit_Framework_TestCase::run in drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php
Runs the test case and collects the results in a TestResult object. If no TestResult object is passed a new one will be created.
PHPUnit_Framework_TestSuite::run in drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php
Runs the tests and collects their result in a TestResult.

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Test.php, line 65

Class

PHPUnit_Framework_Test
A Test can be run and collect its results.

Code

public function run(PHPUnit_Framework_TestResult $result = NULL);