jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: Suite
Date Sat, 11 Sep 2004 07:38:30 GMT
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:bkumler@bitfone.com]
> 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:vmassol@pivolis.com]
> 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:bkumler@bitfone.com]
> > 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: cactus-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org



Mime
View raw message