Yaffs site version 1.1
[yaffs-website] / vendor / phpunit / phpunit / tests / Regression / GitHub / 1216.phpt
1 --TEST--
2 GH-1216: PHPUnit bootstrap must take globals vars even when the file is specified in command line
3 --FILE--
4 <?php
5
6 $_SERVER['argv'][1] = '--configuration';
7 $_SERVER['argv'][2] = dirname(__FILE__) . '/1216/phpunit1216.xml';
8 $_SERVER['argv'][3] = '--debug';
9 $_SERVER['argv'][4] = '--bootstrap';
10 $_SERVER['argv'][5] = dirname(__FILE__) . '/1216/bootstrap1216.php';
11 $_SERVER['argv'][6] = dirname(__FILE__) . '/1216/Issue1216Test.php';
12
13 require __DIR__ . '/../../bootstrap.php';
14 PHPUnit_TextUI_Command::main();
15 ?>
16 --EXPECTF--
17 PHPUnit %s by Sebastian Bergmann and contributors.
18
19
20 Starting test 'Issue1216Test::testConfigAvailableInBootstrap'.
21 .
22
23 Time: %s, Memory: %s
24
25 OK (1 test, 1 assertion)