jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bret Kumler" <bkum...@bitfone.com>
Subject RE: Suite
Date Fri, 10 Sep 2004 20:42:37 GMT
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



Mime
View raw message