Package org.apache.commons.fileupload2.jakarta.servlet6

# Class JakartaProgressListenerTest

java.lang.Object
org.apache.commons.fileupload2.core.AbstractTest<org.apache.commons.fileupload2.jakarta.servlet6.JakartaServletFileUpload<DiskFileItem,DiskFileItemFactory>,HttpServletRequest,DiskFileItem,DiskFileItemFactory>
org.apache.commons.fileupload2.core.AbstractProgressListenerTest<org.apache.commons.fileupload2.jakarta.servlet6.JakartaServletFileUpload<DiskFileItem,DiskFileItemFactory>,HttpServletRequest,DiskFileItem,DiskFileItemFactory>
org.apache.commons.fileupload2.jakarta.servlet6.JakartaProgressListenerTest

public class JakartaProgressListenerTest extends AbstractProgressListenerTest<org.apache.commons.fileupload2.jakarta.servlet6.JakartaServletFileUpload<DiskFileItem,DiskFileItemFactory>,HttpServletRequest,DiskFileItem,DiskFileItemFactory>
Tests the `ProgressListener`.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class org.apache.commons.fileupload2.core.AbstractProgressListenerTest

  `AbstractProgressListenerTest.ProgressListenerImpl`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `JakartaProgressListenerTest()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected org.apache.commons.fileupload2.jakarta.servlet6.JakartaServletFileUpload<DiskFileItem,DiskFileItemFactory>`
  `newFileUpload()`
  `protected HttpServletRequest`
  `newMockHttpServletRequest(InputStream request, long requestLength, String contentType, int readLimit)`

  ### Methods inherited from class org.apache.commons.fileupload2.core.AbstractProgressListenerTest

  `runTest, testProgressListener`

  ### Methods inherited from class org.apache.commons.fileupload2.core.AbstractTest

  `newMockHttpServletRequest, newMockHttpServletRequest`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### JakartaProgressListenerTest

    public JakartaProgressListenerTest()

- ## Method Details

  - ### newFileUpload

    protected org.apache.commons.fileupload2.jakarta.servlet6.JakartaServletFileUpload<DiskFileItem,DiskFileItemFactory> newFileUpload()
    Specified by:
      `newFileUpload` in class `AbstractTest<org.apache.commons.fileupload2.jakarta.servlet6.JakartaServletFileUpload<DiskFileItem,DiskFileItemFactory>,HttpServletRequest,DiskFileItem,DiskFileItemFactory>`

  - ### newMockHttpServletRequest

    protected HttpServletRequest newMockHttpServletRequest(InputStream request, long requestLength, String contentType, int readLimit)
    Specified by:
      `newMockHttpServletRequest` in class `AbstractTest<org.apache.commons.fileupload2.jakarta.servlet6.JakartaServletFileUpload<DiskFileItem,DiskFileItemFactory>,HttpServletRequest,DiskFileItem,DiskFileItemFactory>`