|
|||||||||
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.FileUploadTestCase
org.apache.commons.fileupload.ServletFileUploadTest
public class ServletFileUploadTest
Unit tests DiskFileUpload
.
Field Summary |
---|
Fields inherited from class org.apache.commons.fileupload.FileUploadTestCase |
---|
CONTENT_TYPE |
Constructor Summary | |
---|---|
ServletFileUploadTest()
|
Method Summary | |
---|---|
void |
testEmptyFile()
This is what the browser does if you submit the form without choosing a file. |
void |
testFilenameCaseSensitivity()
|
void |
testFileUpload()
|
void |
testFILEUPLOAD62()
Test for FILEUPLOAD |
void |
testFoldedHeaders()
|
void |
testIE5MacBug()
Internet Explorer 5 for the Mac has a bug where the carriage return is missing on any boundary line immediately preceding an input with type=image. |
void |
testWithInvalidRequest()
|
void |
testWithNullContentType()
|
Methods inherited from class org.apache.commons.fileupload.FileUploadTestCase |
---|
parseUpload, parseUpload, parseUpload |
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 ServletFileUploadTest()
Method Detail |
---|
public void testWithInvalidRequest()
public void testWithNullContentType()
public void testFileUpload() throws java.io.IOException, org.apache.commons.fileupload.FileUploadException
java.io.IOException
org.apache.commons.fileupload.FileUploadException
public void testFilenameCaseSensitivity() throws java.io.IOException, org.apache.commons.fileupload.FileUploadException
java.io.IOException
org.apache.commons.fileupload.FileUploadException
public void testEmptyFile() throws java.io.UnsupportedEncodingException, org.apache.commons.fileupload.FileUploadException
java.io.UnsupportedEncodingException
org.apache.commons.fileupload.FileUploadException
public void testIE5MacBug() throws java.io.UnsupportedEncodingException, org.apache.commons.fileupload.FileUploadException
java.io.UnsupportedEncodingException
org.apache.commons.fileupload.FileUploadException
public void testFILEUPLOAD62() throws java.lang.Exception
java.lang.Exception
public void testFoldedHeaders() throws java.io.IOException, org.apache.commons.fileupload.FileUploadException
java.io.IOException
org.apache.commons.fileupload.FileUploadException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |