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

« back to all changes in this revision

Viewing changes to vendor/phpunit/phpunit/tests/TextUI/tap.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 --tap BankAccountTest ../_files/BankAccountTest.php
 
3
--FILE--
 
4
<?php
 
5
$_SERVER['argv'][1] = '--no-configuration';
 
6
$_SERVER['argv'][2] = '--tap';
 
7
$_SERVER['argv'][3] = 'BankAccountTest';
 
8
$_SERVER['argv'][4] = dirname(__FILE__).'/../_files/BankAccountTest.php';
 
9
 
 
10
require __DIR__ . '/../bootstrap.php';
 
11
PHPUnit_TextUI_Command::main();
 
12
?>
 
13
--EXPECTF--
 
14
TAP version 13
 
15
ok 1 - BankAccountTest::testBalanceIsInitiallyZero
 
16
ok 2 - BankAccountTest::testBalanceCannotBecomeNegative
 
17
ok 3 - BankAccountTest::testBalanceCannotBecomeNegative2
 
18
1..3