jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Lightbody" <pligh...@hotmail.com>
Subject Re: beginXxx and authentication
Date Thu, 01 Aug 2002 09:21:38 GMT
That would almost work, except I need a handle to the WebRequest object in
clientSetUp().

----- Original Message -----
From: "Vincent Massol" <vmassol@octo.com>
To: "'Cactus Users List'" <cactus-user@jakarta.apache.org>
Cc: "'Patrick Lightbody'" <plightbo@hotmail.com>
Sent: Wednesday, July 31, 2002 9:29 PM
Subject: RE: beginXxx and authentication


> I'm almost there ...
>
> Funnily you can put the following code in your test case that extends
> ServletTestCase and you will have what you want implemented! :
>
>     protected void runTest() throws Throwable
>     {
>         clientSetUp();
>         runGenericTest(new ServletHttpClient());
>         clientTearDown();
>     }
>
>     public void clientSetUp()
>     {
>         [...]
>     }
>
>     public void clientTearDown()
>     {
>         [...]
>     }
>
>     public void testXXX()
>     {
>         [...]
>     }
>
> -Vincent
>
> > -----Original Message-----
> > From: Patrick Lightbody [mailto:plightbo@hotmail.com]
> > Sent: 31 July 2002 18:12
> > To: Cactus Users List
> > Subject: Re: beginXxx and authentication
> >
> > Sure, that's fine with me, but where are the nightly builds? I suppose
> I
> > could just get off my ass and check out the source too. Can you email
> the
> > list when this feature is in CVS?
> >
> > -Pat
> >
> > ----- Original Message -----
> > From: "Vincent Massol" <vmassol@octo.com>
> > To: "'Cactus Users List'" <cactus-user@jakarta.apache.org>
> > Cc: <plightbo@hotmail.com>
> > Sent: Wednesday, July 31, 2002 5:53 PM
> > Subject: RE: beginXxx and authentication
> >
> >
> > > Patrick,
> > >
> > > I'm not too keen to include it in Cactus 1.4 as it has already been
> > > delivered and the only changes that should be allowed between the
> beta
> > > and the release are bug fixes for existing features.
> > >
> > > However, I am 100% to include it in 1.5dev, which you can use by
> using a
> > > nightly build. Would you have any issue with this?
> > >
> > > -Vincent
> > >
> > > > -----Original Message-----
> > > > From: Patrick Lightbody [mailto:plightbo@hotmail.com]
> > > > Sent: 31 July 2002 17:45
> > > > To: Cactus Users List
> > > > Subject: Re: beginXxx and authentication
> > > >
> > > > > Yes. Although I am not sure the names are right ... :-)
> > > > >
> > > > > What about:
> > > > >
> > > > > - setUp() : run on server side before each test
> > > > > - TearDown() : run on server side before each test
> > > > > - clientSetUp() : run on client side before each test
> > > > > - clientTearDown() : run on client side before each test
> > > > >
> > > > > But yes, it is very easy to implement, simply add the methods to
> > > > > AbstractTestCase.
> > > >
> > > > Perfect! So when can we expect it? >:)
> > > >
> > > > -Pat
> > > >
> > > > --
> > > > To unsubscribe, e-mail:   <mailto:cactus-user-
> > > > unsubscribe@jakarta.apache.org>
> > > > For additional commands, e-mail: <mailto:cactus-user-
> > > > help@jakarta.apache.org>
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:cactus-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <mailto:cactus-user-help@jakarta.apache.org>
> > >
> > >
> >
> > --
> > To unsubscribe, e-mail:   <mailto:cactus-user-
> > unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: <mailto:cactus-user-
> > help@jakarta.apache.org>
>

--
To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@jakarta.apache.org>


Mime
View raw message