You are here

public function PHPUnit_Framework_TestCase::hasExpectationOnOutput in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/TestCase.php \PHPUnit_Framework_TestCase::hasExpectationOnOutput()

@since Method available since Release 4.3.3

Return value

bool

2 calls to PHPUnit_Framework_TestCase::hasExpectationOnOutput()
PHPUnit_Framework_TestCase::hasOutput in vendor/phpunit/phpunit/src/Framework/TestCase.php
@since Method available since Release 3.6.0
PHPUnit_Framework_TestCase::hasPerformedExpectationsOnOutput in vendor/phpunit/phpunit/src/Framework/TestCase.php
@since Method available since Release 3.6.5

File

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

Class

PHPUnit_Framework_TestCase
A TestCase defines the fixture to run multiple tests.

Code

public function hasExpectationOnOutput() {
  return is_string($this->outputExpectedString) || is_string($this->outputExpectedRegex);
}