Apache Commons logo Commons FileUpload

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
72 0 0 0 100% 1.742

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.apache.commons.fileupload 42 0 0 0 100% 1.733
org.apache.commons.fileupload.util.mime 30 0 0 0 100% 0.009

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.apache.commons.fileupload

Class Tests Errors Failures Skipped Success Rate Time
DefaultFileItemTest 5 0 0 0 100% 0.227
DiskFileItemSerializeTest 6 0 0 0 100% 0.027
FileItemHeadersTest 1 0 0 0 100% 0.001
MultipartStreamTest 3 0 0 0 100% 0.006
ParameterParserTest 5 0 0 0 100% 0.006
ProgressListenerTest 1 0 0 0 100% 0.466
ServletFileUploadTest 11 0 0 0 100% 0.009
SizesTest 5 0 0 0 100% 0.28
StreamingTest 5 0 0 0 100% 0.711

org.apache.commons.fileupload.util.mime

Class Tests Errors Failures Skipped Success Rate Time
Base64DecoderTestCase 13 0 0 0 100% 0.004
MimeUtilityTestCase 6 0 0 0 100% 0.003
QuotedPrintableDecoderTestCase 11 0 0 0 100% 0.002

Test Cases

[Summary] [Package List] [Test Cases]

DefaultFileItemTest

testTextFieldConstruction 0.172
testAboveThresholdSpecifiedRepository 0.006
testBelowThreshold 0.001
testAboveThresholdDefaultRepository 0
testFileFieldConstruction 0

DiskFileItemSerializeTest

testInvalidRepositoryWithNullChar 0.019
testBelowThreshold 0
testThreshold 0.001
testValidRepository 0
testAboveThreshold 0.001
testInvalidRepository 0.002

FileItemHeadersTest

testFileItemHeaders 0.001

MultipartStreamTest

testSmallBuffer 0.004
testThreeParamConstructor 0
testTwoParamConstructor 0

ParameterParserTest

testFileUpload139 0.001
testContentTypeParsing 0.001
testParsing 0
testParsingEscapedChars 0
fileUpload199 0.003

ProgressListenerTest

testProgressListener 0.466

ServletFileUploadTest

testFileUpload130 0.001
testFoldedHeaders 0
testWithInvalidRequest 0.002
testWithNullContentType 0
testFILEUPLOAD62 0.001
testEmptyFile 0
parseParameterMap 0.001
testContentTypeAttachment 0.001
testFileUpload 0
testFilenameCaseSensitivity 0.001
testIE5MacBug 0

SizesTest

testFileSizeLimitWithFakedContentLength 0.004
testMaxSizeLimitUnknownContentLength 0.002
testMaxSizeLimit 0
testFileUpload 0.273
testFileSizeLimit 0.001

StreamingTest

testInvalidFileNameException 0.001
testFILEUPLOAD135 0.001
testIOException 0.152
testFileUpload 0.252
testFileUploadException 0.3

Base64DecoderTestCase

decodeTrailingJunk 0.001
nonBase64Bytes 0.001
badPaddingLeading1 0
badPaddingLeading2 0
decodeWithInnerPad 0
decodeTrailing1 0
decodeTrailing2 0
decodeTrailing3 0
truncatedString 0
nonASCIIcharacter 0
badLength 0
rfc4648Section10Decode 0
badPadding 0

MimeUtilityTestCase

decodeUtf8Base64Encoded 0
decodeIso88591Base64EncodedWithWhiteSpace 0.001
decodeIso88591Base64Encoded 0
decodeUtf8QuotedPrintableEncoded 0.001
noNeedToDecode 0.001
decodeInvalidEncoding 0

QuotedPrintableDecoderTestCase

invalidCharDecode 0
unsafeDecodeLowerCase 0
invalidQuotedPrintableEncoding 0
truncatedEscape 0
unsafeDecode 0
emptyDecode 0
plainDecode 0
invalidSoftBreak1 0
invalidSoftBreak2 0
basicEncodeDecode 0
softLineBreakDecode 0