RE: Issues in Struts2 unit testing

2014-06-13 Thread Martin Gainty
> Date: Fri, 13 Jun 2014 19:01:31 +0530 > Subject: Re: Issues in Struts2 unit testing > From: akrajmscjavaquest...@gmail.com > To: user@struts.apache.org > > Hi Paul, > > I placed the break points in struts code. But the control is not redirected > to struts code. its throws error in intercept

Re: Issues in Struts2 unit testing

2014-06-13 Thread Paul Benedict
I think you need to minimize your test case and start from something simpler to diagnose the problem. First try using the default stack alone. Let us know how that turns out. Cheers, Paul On Fri, Jun 13, 2014 at 8:25 AM, Krishnaraj A < akrajmscjavaquest...@gmail.com> wrote: > Hi Team, > > > Is

Re: Issues in Struts2 unit testing

2014-06-13 Thread Krishnaraj A
Hi Paul, I placed the break points in struts code. But the control is not redirected to struts code. its throws error in interceptor code.\ Thanks Krishnaraj On Fri, Jun 13, 2014 at 6:58 PM, Paul Benedict wrote: > Go set a breakpoint in Struts where the ISE is being thrown and see what > con

Re: Issues in Struts2 unit testing

2014-06-13 Thread Paul Benedict
Go set a breakpoint in Struts where the ISE is being thrown and see what condition is being tested. If possible, take some time to determine when that condition is being set before your invocation. Cheers, Paul On Fri, Jun 13, 2014 at 8:25 AM, Krishnaraj A < akrajmscjavaquest...@gmail.com> wrot

Re: Issues in Struts2 unit testing

2014-06-13 Thread Krishnaraj A
Hi Team, Is any help for the above issue Thanks Krishna raj On Thu, Jun 12, 2014 at 9:05 PM, Krishnaraj A < akrajmscjavaquest...@gmail.com> wrote: > Hi Dave, > > I added my struts code. > > Junit Code: > > public class AdminValidation extends StrutsTestCase { > > @Test > public void