You are here

protected function PHPUnit_Framework_TestCase::onNotSuccessfulTest in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/TestCase.php \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:

Throws

Exception

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

File

vendor/phpunit/phpunit/src/Framework/TestCase.php, line 1867

Class

PHPUnit_Framework_TestCase
A TestCase defines the fixture to run multiple tests.

Code

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