> -----Original Message-----
> From: Vincent Massol [mailto:[EMAIL PROTECTED]
> Sent: 01 December 2003 10:00
> To: 'Cactus Developers List'
> Subject: My last commit on AbstractCactusTestCase
> 
> Hi,
> 
> Please do not pay attention to my last CVS commit which introduced the
> AbstractCactusTestCase class. I've realized there's a better way.
Here's
> what I'd like to for brokers/spines/testlet/etc writers:
> 
> * They create a XXXTestCase class which extends TestCase
> * They create a runBare() method in XXXTestCase, as follows:
> 
> public void runBare() throws Throwable
> {
>     new CactusTestCaseHandler(
>         new XXXProtocolHandler(),
>         new XXXConfiguration(),
>         pureJUnitTestToWrapOrNullIfNone).runBare();
> }
> 

As you have all noticed, this is not going to work... :-) For lots of
reasons. Let me implement it and I'll come back with a proper solution
:-)

-Vincent


> * XXXProtocolHandler implements ProtocolHandler IF
> * XXXConfiguration implements Configuration (not the one that
currently
> exists)
> 
> Note: That's all that's needed for the client side. There's more for
the
> server side.
> 
> I think it's more flexible and better than hiding stuff in an Abstract
> class.
> 
> I'll be writing an email soon with the client-side SPI for writing new
> brokers/spines/testlets/etc.
> 
> Thanks
> -Vincent


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to