Property | Type | Description | |
---|---|---|---|
$assertions | integer | ||
$class | string | ||
$errors | array | Number of errors in this test case | |
$failures | array | Number of failures in this test case | |
$file | string | ||
$line | string | ||
$name | string | ||
$time | string |
Method | Description | |
---|---|---|
__construct ( $name, $class, $file, $line, $assertions, $time ) | ||
addError ( string $type, string $text ) | ||
addFailure ( string $type, string $text ) | ||
addSystemOut ( mixed $node ) : mixed | Add systemOut result on test (if has failed or have error) | |
caseFromNode ( SimpleXMLElement $node ) : TestCase | Factory method that creates a TestCase object from a SimpleXMLElement |
Method | Description | |
---|---|---|
addDefect ( string $collName, $type, $text ) | Add a defect type (error or failure) |
public addFailure ( string $type, string $text ) | ||
$type | string | |
$text | string |
public static addSystemOut ( mixed $node ) : mixed | ||
$node | mixed | |
return | mixed |
public static caseFromNode ( SimpleXMLElement $node ) : TestCase | ||
$node | SimpleXMLElement | |
return | TestCase |