|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.commons.fileupload.StreamingTest
public class StreamingTest
Unit test for items with varying sizes.
Constructor Summary | |
---|---|
StreamingTest()
|
Method Summary | |
---|---|
void |
testFileUpload()
Tests a file upload with varying file sizes. |
void |
testFILEUPLOAD135()
Test for FILEUPLOAD-135 |
void |
testFileUploadException()
Tests, whether an invalid request throws a proper exception. |
void |
testInvalidFileNameException()
Tests, whether an InvalidFileNameException is thrown. |
void |
testIOException()
Tests, whether an IOException is properly delegated. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StreamingTest()
Method Detail |
---|
public void testFileUpload() throws IOException, FileUploadException
IOException
FileUploadException
public void testFileUploadException() throws IOException, FileUploadException
IOException
FileUploadException
public void testIOException() throws IOException
IOException
public void testFILEUPLOAD135() throws IOException, FileUploadException
IOException
FileUploadException
public void testInvalidFileNameException() throws Exception
InvalidFileNameException
is thrown.
Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |