stopTestsIf method
Throws EStopTestsFailure to stop further testing if a condition is not met.

Applies to
TTestCase

Declaration
Procedure stopTestsIf(cond :boolean; msg :String = '');

Parameters
cond An optional condition to check for.
msg An optional message to attach to the thrown exception.

Raises
EStopTestsFailure 

See Also

Implementation

procedure TTestCase.stopTestsIf(cond: boolean; msg: String);
begin
  if cond then
     stopTests(msg);
End;


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