Yaffs site version 1.1
[yaffs-website] / vendor / phpunit / phpunit / tests / Regression / GitHub / 765.phpt
1 --TEST--
2 GH-765: Fatal error triggered in PHPUnit when exception is thrown in data provider of a test with a dependency
3 --FILE--
4 <?php
5
6 $_SERVER['argv'][1] = '--no-configuration';
7 $_SERVER['argv'][2] = 'Issue765Test';
8 $_SERVER['argv'][3] = dirname(__FILE__) . '/765/Issue765Test.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 .F
17
18 Time: %s, Memory: %s
19
20 There was 1 failure:
21
22 1) Warning
23 The data provider specified for Issue765Test::testDependent is invalid.
24
25 FAILURES!
26 Tests: 2, Assertions: 1, Failures: 1.