jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@octo.com>
Subject RE: Single test class for both local and remote
Date Mon, 24 Feb 2003 18:01:11 GMT


> -----Original Message-----
> From: Fred Loney [mailto:loney@spiritedsw.com]
> Sent: 24 February 2003 18:18
> To: Cactus Users List
> Subject: Re: Single test class for both local and remote
> 
> Good solution, Vincent! Easy and effective.
> 
> Is it possible to include a different test case in the suite? E.g.
> 
> LocalTest.java:
> public class LocalTest extends TestCase {
>    // standard JUnit test case
> }
> 
> ContainerTest.java:
>  public class ContainerTest extends TestCase {
>       public static Test suite() {
>           ServletTestSuite suite = new ServletTestSuite();
>           suite.addTestSuite(LocalTest.class);
>           return suite;
>       }
> }

Yes! This is completely transparent for Cactus :-). I have uploaded a
dev build on
http://cvs.apache.org/builds/jakarta-cactus/nightly/2003-02-24/ if you
want to try it out.

[snip]

-Vincent


Mime
View raw message