[ 
https://issues.apache.org/jira/browse/SLING-11745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Munteanu closed SLING-11745.
-----------------------------------

> Sling Mocks: allow setting parts for a request
> ----------------------------------------------
>
>                 Key: SLING-11745
>                 URL: https://issues.apache.org/jira/browse/SLING-11745
>             Project: Sling
>          Issue Type: Improvement
>          Components: Testing
>            Reporter: Robert Munteanu
>            Assignee: Robert Munteanu
>            Priority: Minor
>             Fix For: Servlet Helpers 1.4.4
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> The Sling Mocks currently do not support setting one or multiple parts for 
> the request. These are useful when testing upload functionality. 
> The {{Part}} interface contains multiple methods, but I guess the following 
> would make a nice minimal implementation:
> - getInputStream
> - getName / getSubmittedFileName
> with the others being stubbed out.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to