~tcuthbert/wordpress/openstack-objectstorage

« back to all changes in this revision

Viewing changes to vendor/phpunit/phpunit/tests/Regression/GitHub/1471.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-1471: Output made while test is running is printed although expectOutputString() is used when an assertion fails
 
3
--FILE--
 
4
<?php
 
5
 
 
6
$_SERVER['argv'][1] = '--no-configuration';
 
7
$_SERVER['argv'][2] = 'Issue1471Test';
 
8
$_SERVER['argv'][3] = __DIR__ . '/1471/Issue1471Test.php';
 
9
 
 
10
require __DIR__ . '/../../bootstrap.php';
 
11
PHPUnit_TextUI_Command::main();
 
12
?>
 
13
--EXPECTF--
 
14
PHPUnit %s by Sebastian Bergmann.
 
15
 
 
16
F
 
17
 
 
18
Time: %s, Memory: %sMb
 
19
 
 
20
There was 1 failure:
 
21
 
 
22
1) Issue1471Test::testFailure
 
23
Failed asserting that false is true.
 
24
 
 
25
%s/Issue1471Test.php:10
 
26
 
 
27
FAILURES!
 
28
Tests: 1, Assertions: 1, Failures: 1.