You are here

Issue578Test.php in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 vendor/phpunit/phpunit/tests/Regression/578/Issue578Test.php

File

vendor/phpunit/phpunit/tests/Regression/578/Issue578Test.php
View source
<?php

class Issue578Test extends PHPUnit_Framework_TestCase {
  public function testNoticesDoublePrintStackTrace() {
    $this
      ->iniSet('error_reporting', E_ALL | E_NOTICE);
    trigger_error('Stack Trace Test Notice', E_NOTICE);
  }
  public function testWarningsDoublePrintStackTrace() {
    $this
      ->iniSet('error_reporting', E_ALL | E_NOTICE);
    trigger_error('Stack Trace Test Notice', E_WARNING);
  }
  public function testUnexpectedExceptionsPrintsCorrectly() {
    throw new Exception('Double printed exception');
  }

}

Classes

Namesort descending Description
Issue578Test