Hi all,

I've ported fpcunit to Delphi. That was easier. Only thing is that I
don't have a GUI-version for Delphi now. But for the tests that doesn't
matter, really.

ps:
I meant 'checkequals' instead of 'testequals'

On Mon, 2006-05-08 at 16:00 +0200, Joost van der Sluis wrote:
> Hi all,
> 
> I'm writing a DB-test-framework. And it looks very promising.
> 
> I only wanted to make it runnable with Delphi and FPC. To obtain a good
> mechanism to check for differences. It can be used for example to check
> which events are fired on some actions...
> 
> On fpc I used fpcunit, and I tried to use DUnit with Delphi. That works,
> but the problem is that where fpcunit uses 'assertequals(prop1,prop2)'
> dunit uses 'testequals(prop1,prop2)'
> 
> So that I'm still unable to write a test only once, and test it with
> both compilers.
> 
> I can solve this offcourse by adding a TCompatTestCase which implement
> the AssertEquals functions by a simple call to the TestEquals
> counterpart. But maybe we can add the 'testequals' variant to fpcunit,
> to be dunit compatible?
> 
> Or does anyone have some other ideas?
> 
> Regards,
>   Joost.
> 
> 
> _________________________________________________________________
>      To unsubscribe: mail [EMAIL PROTECTED] with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives
> 
-- 
Met vriendelijke groeten,

  Joost van der Sluis
  CNOC Informatiesystemen en Netwerken
  http://www.cnoc.nl

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to