SetBreakOnFailures Routine
Allow the IDE to break on failure exceptions.

Unit
TestFramework

Declaration
Procedure SetBreakOnFailures(Enable :boolean);

Description
When set to True, the framework raises EEBreakingTestFailure when a test fails. The Delphi IDE will break on this type of exception by default. When set to False, the framework will raise ETestFailure instead, which is derived from EAbort, and on which the IDE will not brak by default. The default value is False.

Parameters
Enable True means enable IDE breaking on failure exceptions.

See Also

Implementation

procedure SetBreakOnFailures(Enable :boolean);
begin
  if Enable then
    __FailureExceptionClass := EBreakingTestFailure
  else
    __FailureExceptionClass := ETestFailure
End;


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