org.apache.commons.fileupload
Class SizesTest
java.lang.Object
org.apache.commons.fileupload.FileUploadTestCase
org.apache.commons.fileupload.SizesTest
public class SizesTest
- extends FileUploadTestCase
Unit test for items with varying sizes.
- Version:
- $Id: SizesTest.java 1458684 2013-03-20 08:31:53Z simonetripodi $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SizesTest
public SizesTest()
testFileUpload
public void testFileUpload()
throws IOException,
FileUploadException
- Runs a test with varying file sizes.
- Throws:
IOException
FileUploadException
testFileSizeLimit
public void testFileSizeLimit()
throws IOException,
FileUploadException
- Checks, whether limiting the file size works.
- Throws:
IOException
FileUploadException
testFileSizeLimitWithFakedContentLength
public void testFileSizeLimitWithFakedContentLength()
throws IOException,
FileUploadException
- Checks, whether a faked Content-Length header is detected.
- Throws:
IOException
FileUploadException
testMaxSizeLimit
public void testMaxSizeLimit()
throws IOException,
FileUploadException
- Checks, whether the maxSize works.
- Throws:
IOException
FileUploadException
testMaxSizeLimitUnknownContentLength
public void testMaxSizeLimitUnknownContentLength()
throws IOException,
FileUploadException
- Throws:
IOException
FileUploadException
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.