FPCUnit and DUnit and FPTest frameworks have special test methods for
testing exceptions. In the latter two frameworks it is
CheckException(). I know FPCUnit has something similar. I think for
the DUnit compatibility interface of FPCUnit I implemented the
CheckException method too.
G.
_
On Sat, Sep 14, 2013 at 10:21 PM, Marcos Douglas wrote:
> Hi,
>
> 1) I have a code like that:
>
> procedure TghSQLConnector.Connect;
> begin
> try
> FLib.Connect;
> except
> on E: Exception do
> DoOnException(E);
> end;
> end;
>
> https://github.com/mdbs99/Greyhound/blob/0.1.8