Yaffs site version 1.1
[yaffs-website] / vendor / phpunit / phpunit / tests / TextUI / dataprovider-log-xml-isolation.phpt
1 --TEST--
2 phpunit --process-isolation --log-junit php://stdout DataProviderTest ../_files/DataProviderTest.php
3 --FILE--
4 <?php
5 $_SERVER['argv'][1] = '--no-configuration';
6 $_SERVER['argv'][2] = '--process-isolation';
7 $_SERVER['argv'][3] = '--log-junit';
8 $_SERVER['argv'][4] = 'php://stdout';
9 $_SERVER['argv'][5] = 'DataProviderTest';
10 $_SERVER['argv'][6] = dirname(dirname(__FILE__)) . '/_files/DataProviderTest.php';
11
12 require __DIR__ . '/../bootstrap.php';
13 PHPUnit_TextUI_Command::main();
14 ?>
15 --EXPECTF--
16 PHPUnit %s by Sebastian Bergmann and contributors.
17
18 ..F.<?xml version="1.0" encoding="UTF-8"?>
19 <testsuites>
20   <testsuite name="DataProviderTest" file="%sDataProviderTest.php" tests="4" assertions="4" failures="1" errors="0" time="%f">
21     <testsuite name="DataProviderTest::testAdd" tests="4" assertions="4" failures="1" errors="0" time="%f">
22       <testcase name="testAdd with data set #0" assertions="1" time="%f"/>
23       <testcase name="testAdd with data set #1" assertions="1" time="%f"/>
24       <testcase name="testAdd with data set #2" assertions="1" time="%f">
25         <failure type="PHPUnit_Framework_ExpectationFailedException">DataProviderTest::testAdd with data set #2 (1, 1, 3)
26 Failed asserting that 2 matches expected 3.
27
28 %s:%i
29 </failure>
30       </testcase>
31       <testcase name="testAdd with data set #3" assertions="1" time="%f"/>
32     </testsuite>
33   </testsuite>
34 </testsuites>
35
36
37 Time: %s, Memory: %s
38
39 There was 1 failure:
40
41 1) DataProviderTest::testAdd with data set #2 (1, 1, 3)
42 Failed asserting that 2 matches expected 3.
43
44 %s:%i
45
46 FAILURES!
47 Tests: 4, Assertions: 4, Failures: 1.