You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by an...@shaw.ca on 2006/02/11 21:41:53 UTC

Spring DelegatingActionProxy and Struts TestCase

Hi All

I am using Spring and Struts by using  DelegatingActionProxy  class. 
Problem is that it breaks all my StrutsTestcases. Anyone knows solution 
for that?

Thanks you in advance for replies.

anil



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Spring DelegatingActionProxy and Struts TestCase

Posted by an...@shaw.ca.
Hi Marco

No I don't.  You know, I just ran it again and test ran without any 
problem. Why it did broke down earlier? yet to find out.

thanks

anil

public class testGenericProcessListing extends MockStrutsTestCase {
   
   
    public void setUp() throws Exception {
        super.setUp();
        setInitParameter("validating","false");
    }
   





Marco Mistroni wrote:

>Hello,
>	Are you instantiating a webappcontext during your tests?
>Regards,	
>	marco
>
>-----Original Message-----
>From: anil_a@shaw.ca [mailto:anil_a@shaw.ca] 
>Sent: 11 February 2006 20:42
>To: Struts Users Mailing List
>Subject: Spring DelegatingActionProxy and Struts TestCase
>
>Hi All
>
>I am using Spring and Struts by using  DelegatingActionProxy  class. 
>Problem is that it breaks all my StrutsTestcases. Anyone knows solution 
>for that?
>
>Thanks you in advance for replies.
>
>anil
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: Spring DelegatingActionProxy and Struts TestCase

Posted by Marco Mistroni <mm...@waersystems.com>.
Hello,
	Are you instantiating a webappcontext during your tests?
Regards,	
	marco

-----Original Message-----
From: anil_a@shaw.ca [mailto:anil_a@shaw.ca] 
Sent: 11 February 2006 20:42
To: Struts Users Mailing List
Subject: Spring DelegatingActionProxy and Struts TestCase

Hi All

I am using Spring and Struts by using  DelegatingActionProxy  class. 
Problem is that it breaks all my StrutsTestcases. Anyone knows solution 
for that?

Thanks you in advance for replies.

anil



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org