protected function PHPUnit_Framework_TestCase::onNotSuccessfulTest

This method is called when a test method did not execute successfully.

@since Method available since Release 3.4.0

Parameters

Exception $e:

1 call to PHPUnit_Framework_TestCase::onNotSuccessfulTest()
PHPUnit_Framework_TestCase::runBare in drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php
Runs the bare test sequence.
1 method overrides PHPUnit_Framework_TestCase::onNotSuccessfulTest()
TemplateMethodsTest::onNotSuccessfulTest in drupal/core/vendor/phpunit/phpunit/Tests/_files/TemplateMethodsTest.php
This method is called when a test method did not execute successfully.

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php, line 1873

Class

PHPUnit_Framework_TestCase
A TestCase defines the fixture to run multiple tests.

Code

protected function onNotSuccessfulTest(Exception $e) {
  throw $e;
}