프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |
메소드 | 설명 | |
---|---|---|
__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 |
메소드 | 설명 | |
---|---|---|
addDefect ( string $collName, $type, $text ) | Add a defect type (error or failure) |
public static addSystemOut ( mixed $node ) : mixed | ||
$node | mixed | |
리턴 | mixed |
public static caseFromNode ( SimpleXMLElement $node ) : TestCase | ||
$node | SimpleXMLElement | |
리턴 | TestCase |