~tcuthbert/wordpress/openstack-objectstorage

« back to all changes in this revision

Viewing changes to vendor/phpunit/phpunit/tests/TextUI/testdox-text.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
phpunit --testdox-text php://stdout BankAccountTest ../_files/BankAccountTest.php
 
3
--FILE--
 
4
<?php
 
5
$_SERVER['argv'][1] = '--no-configuration';
 
6
$_SERVER['argv'][2] = '--testdox-text';
 
7
$_SERVER['argv'][3] = 'php://stdout';
 
8
$_SERVER['argv'][4] = 'BankAccountTest';
 
9
$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/BankAccountTest.php';
 
10
 
 
11
require __DIR__ . '/../bootstrap.php';
 
12
PHPUnit_TextUI_Command::main();
 
13
?>
 
14
--EXPECTF--
 
15
PHPUnit %s by Sebastian Bergmann.
 
16
 
 
17
BankAccount
 
18
... [x] Balance is initially zero
 
19
 [x] Balance cannot become negative
 
20
 
 
21
 
 
22
 
 
23
Time: %s, Memory: %sMb
 
24
 
 
25
OK (3 tests, 3 assertions)