1330.phpt (549B)
1 --TEST-- 2 GH-1330: Allow non-ambiguous shortened longopts 3 --FILE-- 4 <?php 5 6 $_SERVER['argv'][1] = '--deb'; 7 $_SERVER['argv'][2] = '--config'; 8 $_SERVER['argv'][3] = dirname(__FILE__) . '/1330/phpunit1330.xml'; 9 $_SERVER['argv'][4] = 'Issue1330Test'; 10 $_SERVER['argv'][5] = dirname(__FILE__) . '/1330/Issue1330Test.php'; 11 12 require __DIR__ . '/../../bootstrap.php'; 13 PHPUnit_TextUI_Command::main(); 14 ?> 15 --EXPECTF-- 16 PHPUnit %s by Sebastian Bergmann and contributors. 17 18 19 Starting test 'Issue1330Test::testTrue'. 20 . 21 22 Time: %s, Memory: %sMb 23 24 OK (1 test, 1 assertion)