~tcuthbert/wordpress/openstack-objectstorage

« back to all changes in this revision

Viewing changes to vendor/phpunit/phpunit/tests/TextUI/custom-printer-debug.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 -c ../_files/configuration.custom-printer.xml --debug BankAccountTest ../_files/BankAccountTest.php
 
3
--FILE--
 
4
<?php
 
5
$_SERVER['argv'][1] = '-c';
 
6
$_SERVER['argv'][2] = dirname(__FILE__).'/../_files/configuration.custom-printer.xml';
 
7
$_SERVER['argv'][3] = '--debug';
 
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
Configuration read from %sconfiguration.custom-printer.xml
 
18
 
 
19
 
 
20
Starting test 'BankAccountTest::testBalanceIsInitiallyZero'.
 
21
.
 
22
Starting test 'BankAccountTest::testBalanceCannotBecomeNegative'.
 
23
.
 
24
Starting test 'BankAccountTest::testBalanceCannotBecomeNegative2'.
 
25
.
 
26
 
 
27
Time: %s, Memory: %sMb
 
28
 
 
29
OK (3 tests, 3 assertions)