PHP Classes

File: Library/vendor/phpunit/phpunit/tests/Regression/Trac/578.phpt

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   Lego PHP   Library/vendor/phpunit/phpunit/tests/Regression/Trac/578.phpt   Download  
File: Library/vendor/phpunit/phpunit/tests/Regression/Trac/578.phpt
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Lego PHP
Blog and shopping cart system
Author: By
Last change:
Date: 7 years ago
Size: 876 bytes
 

Contents

Class file image Download
--TEST-- #578: Double printing of trace line for exceptions from notices and warnings --FILE-- <?php $_SERVER['argv'][1] = '--no-configuration'; $_SERVER['argv'][2] = 'Issue578Test'; $_SERVER['argv'][3] = __DIR__ . '/578/Issue578Test.php'; require __DIR__ . '/../../bootstrap.php'; PHPUnit_TextUI_Command::main(); ?> --EXPECTF-- PHPUnit %s by Sebastian Bergmann and contributors. EEE 3 / 3 (100%) Time: %s, Memory: %s There were 3 errors: 1) Issue578Test::testNoticesDoublePrintStackTrace Invalid error type specified %sIssue578Test.php:%i 2) Issue578Test::testWarningsDoublePrintStackTrace Invalid error type specified %sIssue578Test.php:%i 3) Issue578Test::testUnexpectedExceptionsPrintsCorrectly Exception: Double printed exception %sIssue578Test.php:%i ERRORS! Tests: 3, Assertions: 0, Errors: 3.