You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Alexander Kellett (JIRA)" <ji...@apache.org> on 2006/10/28 23:26:16 UTC

[jira] Created: (WICKET-24) FileUpload testing helper

FileUpload testing helper
-------------------------

                 Key: WICKET-24
                 URL: http://issues.apache.org/jira/browse/WICKET-24
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 1.2.3
            Reporter: Alexander Kellett
            Priority: Minor


Something to the effect of:

public void addFile(String fieldName, File file, String contentType) {
	MockHttpServletResponse servletResponse = wicketTester.getServletResponse();
	servletResponse.addFile(fieldName, file, contentType);
}

In FormTester would be really useful.

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

        

[jira] Updated: (WICKET-24) FileUpload testing helper

Posted by "Frank Bille Jensen (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/WICKET-24?page=all ]

Frank Bille Jensen updated WICKET-24:
-------------------------------------

    Fix Version/s: 1.3
                   2.0

I have committed a patch for this for 2.0. When we start working on 1.3 in a week or so I will commit it to 1.3 as well.

(Because there are currently something wrong with associating commits to an issue, you can't see the commit on the subversion commits tab: http://svn.apache.org/viewvc?view=rev&revision=468969)

> FileUpload testing helper
> -------------------------
>
>                 Key: WICKET-24
>                 URL: http://issues.apache.org/jira/browse/WICKET-24
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.2.3
>            Reporter: Alexander Kellett
>         Assigned To: Frank Bille Jensen
>            Priority: Minor
>             Fix For: 1.3, 2.0
>
>
> Something to the effect of:
> public void addFile(String fieldName, File file, String contentType) {
> 	MockHttpServletResponse servletResponse = wicketTester.getServletResponse();
> 	servletResponse.addFile(fieldName, file, contentType);
> }
> In FormTester would be really useful.

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

        

[jira] Resolved: (WICKET-24) FileUpload testing helper

Posted by "Frank Bille Jensen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-24?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank Bille Jensen resolved WICKET-24.
--------------------------------------

    Resolution: Fixed

Committed to both 1.3 and 2.0

> FileUpload testing helper
> -------------------------
>
>                 Key: WICKET-24
>                 URL: https://issues.apache.org/jira/browse/WICKET-24
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.2.3
>            Reporter: Alexander Kellett
>         Assigned To: Frank Bille Jensen
>            Priority: Minor
>             Fix For: 1.3, 2.0
>
>
> Something to the effect of:
> public void addFile(String fieldName, File file, String contentType) {
> 	MockHttpServletResponse servletResponse = wicketTester.getServletResponse();
> 	servletResponse.addFile(fieldName, file, contentType);
> }
> In FormTester would be really useful.

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

        

[jira] Assigned: (WICKET-24) FileUpload testing helper

Posted by "Frank Bille Jensen (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/WICKET-24?page=all ]

Frank Bille Jensen reassigned WICKET-24:
----------------------------------------

    Assignee: Frank Bille Jensen

> FileUpload testing helper
> -------------------------
>
>                 Key: WICKET-24
>                 URL: http://issues.apache.org/jira/browse/WICKET-24
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.2.3
>            Reporter: Alexander Kellett
>         Assigned To: Frank Bille Jensen
>            Priority: Minor
>
> Something to the effect of:
> public void addFile(String fieldName, File file, String contentType) {
> 	MockHttpServletResponse servletResponse = wicketTester.getServletResponse();
> 	servletResponse.addFile(fieldName, file, contentType);
> }
> In FormTester would be really useful.

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