Comment | Line | Code | Result | Test |
---|---|---|---|---|
check test Error | 25 |
$result = 100; |
[0.000 ms] 100 |
Error |
checkEqual Error, result is a string, not float | 40 |
$result = "3.25"; |
[0.001 ms] '3.25' |
Error |
checkNotEqual test Error | 50 |
$result = null; |
[0.000 ms] NULL |
Error |
checkEqualHex test Error | 62 |
$result = "test\n"; |
[0.000 ms] '74 65 73 74 0A' |
Error |
checkContains test Error | 74 |
$result = "A B C D E F"; |
[0.000 ms] 'A B C D E F' |
Error |
checkHTML test Error invalid HTML | 84 |
$result = "<td class='c1'>123</tr>"; |
User Warning: Ln:1 - Unexpected end tag : tr (phpcheck.php line 230) [0.000 ms] '<td class=\'c1\'>123</tr>' |
Error |
checkHTML test Error: class not c1 | 95 |
$result = "<td class='other'>123</td>"; |
[0.000 ms] '<td class=\'other\'>123</td>' |
Error |
checkOutput Error | 105 |
//startOutput used |
[0.000 ms] 'Hello my world' |
Error |
check Exception: Error | 118 |
$checkFct = function(){ |
[0.000 ms] '' |
Error |
check Exception and typ: Error | 130 |
$checkFct = function(){ |
[0.000 ms] 'Exception: InvalidArgumentException ""' |
Error |
checkMultipletest error 3 * 4 | 141 |
$expected = 13;
|
[0.000 ms] 12 |
Error |