File: phpunit-log-more-suites.xml

package info (click to toggle)
libnb-platform18-java 12.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 729,800 kB
  • sloc: java: 5,059,097; xml: 574,432; php: 78,788; javascript: 29,039; ansic: 10,278; sh: 6,386; cpp: 4,612; jsp: 3,643; sql: 1,097; makefile: 540; objc: 288; perl: 277; haskell: 93
file content (54 lines) | stat: -rw-r--r-- 2,989 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
  <testsuite name="." tests="6" assertions="5" failures="3" errors="1" time="0.063556">
    <testsuite name="Calculator2Test" file="/home/gapon/NetBeansProjects/PhpProject01/tests/hola/Calculator2Test.php" tests="1" assertions="1" failures="0" errors="0" time="0.010951">
      <testcase name="testAdd" class="Calculator2Test" file="/home/gapon/NetBeansProjects/PhpProject01/tests/hola/Calculator2Test.php" line="43" assertions="1" time="0.010951"/>
    </testsuite>
    <testsuite name="NoTestClassTest" file="/home/gapon/NetBeansProjects/PhpProject01/tests/NoTestClassTest.php" tests="0" assertions="0" failures="0" errors="0" time="0.000000"/>
    <testsuite name="CalculatorTest" file="/home/gapon/NetBeansProjects/PhpProject01/tests/CalculatorTest.php" tests="5" assertions="4" failures="3" errors="1" time="0.052605">
      <testcase name="testAdd" class="CalculatorTest" file="/home/gapon/NetBeansProjects/PhpProject01/tests/CalculatorTest.php" line="43" assertions="1" time="0.010114"/>
      <testcase name="testAdd2" class="CalculatorTest" file="/home/gapon/NetBeansProjects/PhpProject01/tests/CalculatorTest.php" line="54" assertions="1" time="0.009994">
        <failure type="PHPUnit_Framework_ExpectationFailedException">testAdd2(CalculatorTest)
Failed asserting that two objects are equal.
--- Expected
+++ Actual
@@ -1,3 +1 @@
-MyObject Object
-(
-)
+77
\ Chybi znak konce radku na konci souboru


/home/gapon/NetBeansProjects/PhpProject01/tests/CalculatorTest.php:56
</failure>
      </testcase>
      <testcase name="testAdd3" class="CalculatorTest" file="/home/gapon/NetBeansProjects/PhpProject01/tests/CalculatorTest.php" line="62" assertions="1" time="0.012491">
        <failure type="PHPUnit_Framework_ExpectationFailedException">testAdd3(CalculatorTest)
my expected message
Failed asserting that two strings are equal.
expected string &lt;hello&gt;
difference      &lt; x???&gt;
got string      &lt;hi&gt;

/home/gapon/NetBeansProjects/PhpProject01/tests/CalculatorTest.php:64
</failure>
      </testcase>
      <testcase name="testAdd4" class="CalculatorTest" file="/home/gapon/NetBeansProjects/PhpProject01/tests/CalculatorTest.php" line="70" assertions="1" time="0.010514">
        <failure type="PHPUnit_Framework_ExpectationFailedException">testAdd4(CalculatorTest)
Failed asserting that &lt;integer:2&gt; matches expected value &lt;integer:3&gt;.

/home/gapon/NetBeansProjects/PhpProject01/tests/CalculatorTest.php:75
</failure>
      </testcase>
      <testcase name="testAdd5" class="CalculatorTest" file="/home/gapon/NetBeansProjects/PhpProject01/tests/CalculatorTest.php" line="78" assertions="0" time="0.009492">
        <error type="Exception">testAdd5(CalculatorTest)
Exception: my exception

/home/gapon/NetBeansProjects/PhpProject01/src/Calculator.php:13
/home/gapon/NetBeansProjects/PhpProject01/tests/CalculatorTest.php:82
</error>
      </testcase>
    </testsuite>
  </testsuite>
</testsuites>