jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barbara Allori <ball...@akros.it>
Subject RE: Initializable
Date Mon, 14 Jul 2003 10:42:12 GMT
Ok, thanks Vincent and sorry for my English: I'm italian girl :)

At 12.26 14/07/2003 +0200, you wrote:
>Ok. I've just committed the new feature! Initializable has now
>disappeared (it has never been made public) and has been replaced by the
>simple and standard JUnit TestSetup mechanism.
>
>Cactus is thus providing a JettyTestSetup class that you can use to
>start Jetty before your unit tests are executed.
>
>-Vincent
>
>
> > -----Original Message-----
> > From: Vincent Massol [mailto:vmassol@pivolis.com]
> > Sent: 14 July 2003 10:43
> > To: 'Cactus Users List'
> > Cc: ballori@akros.it
> > Subject: RE: Initializable
> >
> > Hi Barbara,
> >
> > The Initializable class is a new feature of Cactus 1.5. Thus you can
>get
> > it only in nightly builds (It will be released very soon now). It is
> > possible to use Initializable for starting Tomcat. ATM, the Cactus
> > project is only providing an implementation for starting Jetty (it
>makes
> > sense as it is a java-embeddable container).
> >
> > I wouldn't recommend to use the Initializable interface right now as I
> > think the way it works is not great and it will be changed in the
> > future. My vision is rather to provide custom Test Suites such as:
> >
> > JettyTestSuite(), TomcatTestSuite(), etc
> >
> > They would be used:
> >
> > public static Test suite()
> > {
> >    TestSuite suite = new TestSuite(Myclass.class);
> >    return new JettyTestSuite(suite);
> > }
> >
> > The JettyTestSuite would automatically start jetty before any test of
> > the suite is started.
> >
> > Thanks
> > -Vincent
> >
> > > -----Original Message-----
> > > From: Barbara Allori [mailto:ballori@akros.it]
> > > Sent: 04 July 2003 15:21
> > > To: cactus-user@jakarta.apache.org
> > > Subject: Initializable
> > >
> > > Hello,
> > >
> > >          Can somebody tell me if it's possible to use the interface
> > > Initializable also for Tomcat? And if it's possible where I can
>found
> > this
> > >          class?
> > >
> > > Thanks :)
> > >
> > >
> > > Cordiali Saluti,
> > > Ing. Barbara Allori
> > > Akros Informatica s.r.l
> > > ballori@akros.it
> > >
> > >
> > >
>---------------------------------------------------------------------
> > > 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