« Return to Thread: Standalone Tiles: Status and Call for Help

Re: Standalone Tiles: Status and Call for Help

by Gary%20VanMatre :: Rate this Message:

Reply to Author | View in Thread

>From: Greg Reddin <greddin@...>
>
>
> On Mar 21, 2006, at 1:00 PM, Gary VanMatre wrote:
>
> > I wonder if the shale test framework can be leveraged here. There
> > are mock objects for the servlet API.
>
> I need to take a closer look at that. I'm using Struts Test Case in
> a few places in Standalone Tiles already.
>

Oh yeah, I forgot about the struts action mock objects.  

 

> >> 2) moving on to Milestone 3: Remove Servlet API dependencies.
> >> Ideally, I'd like to see test cases passing before we move on the
> >> Milestone 3, but in the interest of getting things done, I see no
> >> reason we can't start accepting patches for it.
> >>
> >>
> >
> > What did you have in mind here? Are you think about something
> > similar to the JSF ExternalContext object?
>
> Yep. That and the Commons Chain WebContext set of classes.
>

I suppose that the choice of the context object could favor action versus shale for a test framework.  

Since I'm in the JSF fan club, I'd argue that we could implement the ExternalContext interface since the JSF API will soon be a given.
   

Gary

>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>

 « Return to Thread: Standalone Tiles: Status and Call for Help