testresult
Description
Type Tags
None
Object Value
Objects of type testresult have no value, and it is an error to try to get or set this value.
testresult.new()
Description
Prototype
testresult
.new
(
testresult
)
me
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | testresult |
Properties
Property | Type | Description |
---|---|---|
addError | function | |
addFailure | function | |
addSuccess | function | |
errors | array | |
failures | array | |
startTest | function | |
stop | function | |
stopTest | function | |
success | boolean | |
testsrun | integer | |
type | type | |
wasSuccessful | function |
Methods
addError()
Description
Prototype
testresultvar
.addError
(
testcase
,
integer test
,
anyvalue errtype
,
string value
)
info
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
test | None | testcase | |
errtype | None | integer | |
value | None | anyvalue | |
info | None | string |