TTestResult Object
Methods
A TTestResult collects the results of executing a test case.

Unit
TestFramework

Declaration
TTestResult = class(TObject)

Description
It is an instance of the Collecting Parameter pattern. The test framework distinguishes between failures and errors. A failure is anticipated and checked for with checks. Errors are unanticipated problems that raise an exception. see Check see ITest

Introduced Methods
AddError  Adds an error to the list of errors.
AddFailure  Adds a failure to the list of failures.
addListener
Create
destroy
EndTest  Informs the result that a test was completed.
ErrorCount
errors
FailureCount
Failures
Run  Runs a TestCase.
RunCount
RunSuite  Runs a test.
ShouldStop
StartTest  Informs the result that a test will be started.
Stop
TestingEnds
TestingStarts
WasStopped
WasSuccessful


HTML generated by Time2HELP
http://www.time2help.com