SIMPOL Documentation

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

ParameterDefault valueType nameDescription
meNonetestresult

Properties

PropertyTypeDescription
addErrorfunction
addFailurefunction
addSuccessfunction
errorsarray
failuresarray
startTestfunction
stopfunction
stopTestfunction
successboolean
testsruninteger
typetype
wasSuccessfulfunction

Methods

addError()

Description

Prototype

testresultvar.addError ( testcase test, integer errtype, anyvalue value, string info )

Parameters
ParameterDefault valueType nameDescription
testNonetestcase
errtypeNoneinteger
valueNoneanyvalue
infoNonestring