Re: MockStrutsTestCase problem

2005-10-27 Thread atta-ur rehman
Hi, what's the exception? does your form class has a method getPb()/setPb() and is it non-null for the current instance of the form? ATTA On 10/27/05, Kanuri, Chand <[EMAIL PROTECTED]> wrote: > > Hi, > i am testing my action class using MockStrutsTestCase. > the properties that are threre direc

RE: MockStrutsTestCase problem

2005-10-21 Thread Anuradha S.Athreya
5:46 PM To: 'Struts Users Mailing List' Subject: RE: MockStrutsTestCase problem Hi, what do you mean by YOUR_APPLICATION_CONTEXT_PATH? is that /WEB-INF/web.xml thanks -Original Message- From: Anuradha S.Athreya [mailto:[EMAIL PROTECTED] Sent: 21 October 2005 13:05 To: &#x

RE: MockStrutsTestCase problem

2005-10-21 Thread Kanuri, Chand
Hi, what do you mean by YOUR_APPLICATION_CONTEXT_PATH? is that /WEB-INF/web.xml thanks -Original Message- From: Anuradha S.Athreya [mailto:[EMAIL PROTECTED] Sent: 21 October 2005 13:05 To: 'Struts Users Mailing List' Subject: RE: MockStrutsTestCase problem U will have

Re: MockStrutsTestCase problem

2005-10-21 Thread Laurie Harper
Kanuri, Chand wrote: Hi all, I am using MockStrutsTestCase api to test my action classes. i set like this in my setUP() method setServletConfigFile("/WEB-INF/web.xml"); but the test fails and reports that /WEB-INF/web.xml is invalid path name any ideas? This isn't really the place to be aski

RE: MockStrutsTestCase problem

2005-10-21 Thread Anuradha S.Athreya
U will have to set the context path of ur application: setContextDirectory(new File("YOUR_APPLICATION_CONTEXT_PATH")); Regards Anuradha -Original Message- From: Kanuri, Chand [mailto:[EMAIL PROTECTED] Sent: Friday, October 21, 2005 4:03 PM To: 'user@struts.apache.org' Subject: MockStrut