You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Michael Tarantino (JIRA)" <ji...@apache.org> on 2014/09/12 15:07:33 UTC
[jira] [Updated] (SLING-3924) Sling JUnit add request parameters to
SlingTestContext input map
[ https://issues.apache.org/jira/browse/SLING-3924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Tarantino updated SLING-3924:
-------------------------------------
Attachment: SLING-3924-001.patch
> Sling JUnit add request parameters to SlingTestContext input map
> ----------------------------------------------------------------
>
> Key: SLING-3924
> URL: https://issues.apache.org/jira/browse/SLING-3924
> Project: Sling
> Issue Type: Improvement
> Components: Testing
> Reporter: Michael Tarantino
> Priority: Minor
> Attachments: SLING-3924-001.patch
>
>
> SlingTestContext has an "input map" which provide test parameters. For the moment, those parameters are not read from the request. I created a patch which extract the parameters from the request and put them into the SlingTestContext "input map".
> Notes : the patch is modifying JUnitServlet class but maybe should be more appropriate in the RequestParser ? What do you think ?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)