[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-2860) Allow subclass of BaseSeamTest to provide an alternate MockServletContext implementation

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Apr 7 17:09:59 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBSEAM-2860?page=all ]

Pete Muir updated JBSEAM-2860:
------------------------------

    Fix Version/s: 2.1.0.BETA1

> Allow subclass of BaseSeamTest to provide an alternate MockServletContext implementation
> ----------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-2860
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2860
>             Project: JBoss Seam
>          Issue Type: Feature Request
>    Affects Versions: 2.1.0.A1
>            Reporter: Clint Popetz
>             Fix For: 2.1.0.BETA1
>
>         Attachments: ExtendedServletContext.java, mockServletContext.diff
>
>
> I'm integrating seam into an environment which has a mock servlet context based on servletunit...but BaseSeamTest doesn't provide a hook for using that. This patch provides identical behavior by default, but allows subclasses to provide an alternate servletContext implementation.
> Note that BaseSeamTest wants to be able to call getInitParameters, so I've provided a subinterface "ExtendedServletContext," made BaseSeamTest use that interface, and made MockServletContext implement that interface.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list