Yes ... although :
- you could already do this before (just had to change the
cactus.properties file)
- the public SPI is not yet published :-)

-Vincent

> -----Original Message-----
> From: Nicholas Lesiecki [mailto:[EMAIL PROTECTED]]
> Sent: 14 January 2002 16:04
> To: Cactus Developers List
> Subject: RE: 2 new features in CVS
> 
> I really like the per-test redirector override. Now we caqn make out
own
> redirectors if we wish...
> 
> -----Original Message-----
> From: Vincent Massol [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, January 13, 2002 2:30 PM
> To: 'Cactus Developers List'
> Subject: 2 new features in CVS
> 
> 
> Hi,
> 
> I have added today 2 new features in CVS :
> 
> 1/ possibility to override default redirector in a per test case
> fashion. For example, you can now write :
> 
> 
>     public void beginRedirectorOverride1(WebRequest theRequest)
>     {
>         theRequest.setRedirectorName("ServletRedirectorOverride");
>     }
> 
>     public void testRedirectorOverride1()
>     {
>         assertEquals("value2 used for testing",
>             config.getInitParameter("param2"));
>     }
> 
> In order to support this I had to modify the format of
> cactus.properties. The new one is :
> 
> # Web app Context under which our application to test runs
> cactus.contextURL = http://localhost:@test.port@/test
> 
> # Default Servlet Redirector Name. Used by ServletTestCase test cases.
> cactus.servletRedirectorName = ServletRedirector
> 
> # Default JSP Redirector Name. Used by JspTestCase test cases.
> cactus.jspRedirectorName = JspRedirector
> 
> 2/ BASIC authentication. I have committed the patch from Jason
Robertson
> / Peter Wong. I have not yet committed the one for Form based
> authentication but will soon.
> 
> Tell me if you like it :-)
> 
> Thanks
> -Vincent
> _______________________
> Vincent Massol
> Managing Director
> OCTO Technology UK Ltd
> www.octo.com
> [EMAIL PROTECTED]
> Tel: (020) 8996 9540
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:cactus-dev-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:cactus-dev-
> [EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:cactus-dev-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:cactus-dev-
> [EMAIL PROTECTED]>
> 




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to