TestAssertion (gb.test)
This class represents an "ok" or "not ok" line in TAP.
It is generated by TapPrinter and TapParser.
Этот класс создаваемый.
Константы
NONE
|
Possible values for the Directive field
|
SKIP
|
Possible values for the Directive field
|
TODO
|
Possible values for the Directive field
|
Свойства
Comment
|
The comment after the test description and directive, if any.
|
Description
|
The test description.
|
Directive
|
The TAP directive constant NONE, TODO or SKIP.
|
Id
|
The serial number of this test.
|
Line
|
The position in the code where the test was called
|
Ok
|
Whether "ok" or "not ok" was printed.
|
SubPlanned
|
If this is a subtest summary assertion, its plan line.
|
SubSkippedAll
|
If this is a subtest summary assertion, whether it was skipped completely.
|
SubSuccess
|
Whether all subtests succeeded.
|
Subtests
|
If this is a subtest summary assertion, here are the child assertions.
|
Success
|
Whether the test counts as succeeded. A "not ok" test can succeed if it was marked as TODO.
|