public function ExceptionMessageRegExpTest::testMessageXdebugScreamCompatibility in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/tests/Framework/Constraint/ExceptionMessageRegExpTest.php \ExceptionMessageRegExpTest::testMessageXdebugScreamCompatibility()
@runInSeparateProcess @requires extension xdebug @expectedException \Exception @expectedExceptionMessageRegExp #Screaming preg_match#
File
- vendor/
phpunit/ phpunit/ tests/ Framework/ Constraint/ ExceptionMessageRegExpTest.php, line 41
Class
- ExceptionMessageRegExpTest
- @since Class available since Release 4.3.0 @covers PHPUnit_Framework_Constraint_ExceptionMessageRegExp
Code
public function testMessageXdebugScreamCompatibility() {
ini_set('xdebug.scream', '1');
throw new Exception('Screaming preg_match');
}