Fail method
Report a test failure.

Applies to
TTestCase

Declaration
Procedure Fail(msg :string; errorAddr :Pointer = nil);

Description
Reports a failure to all TestListeners using the provided message.

Parameters
msg The optional message.

Implementation

procedure TTestCase.Fail(msg: string; errorAddr :Pointer = nil);
begin
  if errorAddr = nil then
    raise __FailureExceptionClass.Create(msg) at CallerAddr
  else
    raise __FailureExceptionClass.Create(msg) at errorAddr;
End;


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