~ballot/wordpress/openstack-objectstorage-bis

« back to all changes in this revision

Viewing changes to vendor/phpunit/phpunit/tests/Regression/GitHub/1216.phpt

  • Committer: Jacek Nykis
  • Date: 2015-02-11 15:35:31 UTC
  • Revision ID: jacek.nykis@canonical.com-20150211153531-hmy6zi0ov2qfkl0b
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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.
 
18
 
 
19
Configuration read from %s
 
20
 
 
21
 
 
22
Starting test 'Issue1216Test::testConfigAvailableInBootstrap'.
 
23
.
 
24
 
 
25
Time: %s, Memory: %sMb
 
26
 
 
27
OK (1 test, 1 assertion)
 
 
b'\\ No newline at end of file'