BTW, it's even better to write:
public class TestAllServices {
public static Test suite() {
ServletTestSuite suite = new ServletTestSuite();
suite.addTestSuite(TestDMEJB.class);
suite.addTestSuite(TestDIEJB.class);
return suite;
}
}
> -----Original Message-----
> From: Bret Kumler [mailto:[EMAIL PROTECTED]
> Sent: vendredi 10 septembre 2004 22:43
> To: 'Cactus Users List'
> Subject: RE: Suite
>
> That's what I thought, just wanted to make sure :-)
>
> -----Original Message-----
> From: Vincent Massol [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 1:13 PM
> To: 'Cactus Users List'
> Subject: RE: Suite
>
> Hi Bret,
>
> You should not extend anything.
>
> public class TestAllServices {
> public static Test suite() {
> ServletTestSuite suite = new ServletTestSuite();
> suite.addTest(com.tests.TestDMEJB.suite());
> suite.addTest(com.test.TestDIEJB.suite());
> return suite;
> }
> }
>
> -Vincent
>
> > -----Original Message-----
> > From: Bret Kumler [mailto:[EMAIL PROTECTED]
> > Sent: vendredi 10 septembre 2004 20:39
> > To: 'Cactus Users List'
> > Subject: Suite
> >
> > I have a stupid question.
> >
> > The code below, do I need to extend ServletTestCase or can I remove it?
> >
> > public class TestAllServices extends ServletTestCase {
> > public static Test suite() {
> > ServletTestSuite suite = new ServletTestSuite();
> > suite.addTest(com.tests.TestDMEJB.suite());
> > suite.addTest(com.test.TestDIEJB.suite());
> > return suite;
> > }
> > }
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]