~ballot/wordpress/openstack-objectstorage-breaking-insight

« back to all changes in this revision

Viewing changes to vendor/phpunit/phpunit/tests/Regression/GitHub/322.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-322: group commandline option should override group/exclude setting in phpunit.xml
 
3
--FILE--
 
4
<?php
 
5
 
 
6
$_SERVER['argv'][1] = '--configuration';
 
7
$_SERVER['argv'][2] = dirname(__FILE__).'/322/phpunit322.xml';
 
8
$_SERVER['argv'][3] = '--debug';
 
9
$_SERVER['argv'][4] = '--group';
 
10
$_SERVER['argv'][5] = 'one';
 
11
$_SERVER['argv'][6] = 'Issue322Test';
 
12
$_SERVER['argv'][7] = dirname(__FILE__).'/322/Issue322Test.php';
 
13
 
 
14
require __DIR__ . '/../../bootstrap.php';
 
15
PHPUnit_TextUI_Command::main();
 
16
?>
 
17
--EXPECTF--
 
18
PHPUnit %s by Sebastian Bergmann.
 
19
 
 
20
Configuration read from %s
 
21
 
 
22
 
 
23
Starting test 'Issue322Test::testOne'.
 
24
.
 
25
 
 
26
Time: %s, Memory: %sMb
 
27
 
 
28
OK (1 test, 0 assertions)