Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-24

FileUpload testing helper

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            frankbille Frank Bille
            lypanov Alexander Kellett
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: