public function PHPUnit_Framework_TestResult::addDeprecatedFeature

Adds a deprecated feature notice to the list of deprecated features used during run

Parameters

PHPUnit_Util_DeprecatedFeature $deprecatedFeature:

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestResult.php, line 319

Class

PHPUnit_Framework_TestResult
A TestResult collects the results of executing a test case.

Code

public function addDeprecatedFeature(PHPUnit_Util_DeprecatedFeature $deprecatedFeature) {
  $this->deprecatedFeatures[] = $deprecatedFeature;
}