Yaffs site version 1.1
[yaffs-website] / vendor / phpunit / phpunit / tests / Regression / GitHub / 74.phpt
1 --TEST--
2 GH-74: catchable fatal error in 3.5
3 --FILE--
4 <?php
5 $_SERVER['argv'][1] = '--no-configuration';
6 $_SERVER['argv'][2] = '--process-isolation';
7 $_SERVER['argv'][3] = 'Issue74Test';
8 $_SERVER['argv'][4] = dirname(__FILE__) . '/74/Issue74Test.php';
9
10 require __DIR__ . '/../../bootstrap.php';
11 PHPUnit_TextUI_Command::main();
12 ?>
13 --EXPECTF--
14 PHPUnit %s by Sebastian Bergmann and contributors.
15
16 E
17
18 Time: %s, Memory: %s
19
20 There was 1 error:
21
22 1) Issue74Test::testCreateAndThrowNewExceptionInProcessIsolation
23 NewException: Testing GH-74
24
25 %sIssue74Test.php:7
26
27 FAILURES!
28 Tests: 1, Assertions: 0, Errors: 1.