public function PHPUnit_Framework_TestCase::expectOutputString in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/TestCase.php \PHPUnit_Framework_TestCase::expectOutputString()
@since Method available since Release 3.6.0
Parameters
string $expectedString:
9 calls to PHPUnit_Framework_TestCase::expectOutputString()
- Issue1471Test::testFailure in vendor/
phpunit/ phpunit/ tests/ Regression/ GitHub/ 1471/ Issue1471Test.php - Issue433Test::testNotMatchingOutput in vendor/
phpunit/ phpunit/ tests/ Regression/ GitHub/ 433/ Issue433Test.php - Issue433Test::testOutputWithExpectationAfter in vendor/
phpunit/ phpunit/ tests/ Regression/ GitHub/ 433/ Issue433Test.php - Issue433Test::testOutputWithExpectationBefore in vendor/
phpunit/ phpunit/ tests/ Regression/ GitHub/ 433/ Issue433Test.php - Issue445Test::testNotMatchingOutput in vendor/
phpunit/ phpunit/ tests/ Regression/ GitHub/ 445/ Issue445Test.php
File
- vendor/
phpunit/ phpunit/ src/ Framework/ TestCase.php, line 405
Class
- PHPUnit_Framework_TestCase
- A TestCase defines the fixture to run multiple tests.
Code
public function expectOutputString($expectedString) {
if ($this->outputExpectedRegex !== null) {
throw new PHPUnit_Framework_Exception();
}
if (is_string($expectedString) || is_null($expectedString)) {
$this->outputExpectedString = $expectedString;
}
}