##### Commons FileUpload

- Overview
- User guide
- Streaming API
- FAQ
- Javadoc
- Mailing lists
- Team
- Tasks
- SVN repository

##### Project Documentation

- Project Information
- Project Reports
  - Changes Report
  - Checkstyle
  - Clirr
  - CPD Report
  - JavaDocs
  - JDepend
  - Jira Report
  - Maven Surefire Report
  - PMD Report
  - RAT Report
  - Source Xref
  - Test JavaDocs
  - Test Source Xref

##### Commons

- Home
- Components
- Sandbox
- Dormant
- Volunteering
- Contributing Patches
- Building Components
- Releasing Components
- Wiki

##### ASF

- Sponsorship
- Thanks

## Summary

[Summary ][Package List ][Test Cases ]

Tests | Errors | Failures | Skipped | Success Rate | Time
--- | --- | --- | --- | --- | ---
31 | 0 | 0 | 0 | 100% | 3.74

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 | 31 | 0 | 0 | 0 | 100% | 3.74

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
--- | --- | --- | --- | --- | --- | --- | ---
| MultipartStreamTest | 2 | 0 | 0 | 0 | 100% | 0.001
| FileItemHeadersTest | 1 | 0 | 0 | 0 | 100% | 0.002
| DiskFileItemSerializeTest | 3 | 0 | 0 | 0 | 100% | 0.016
| DefaultFileItemTest | 6 | 0 | 0 | 0 | 100% | 0.005
| ServletFileUploadTest | 8 | 0 | 0 | 0 | 100% | 0.02
| StreamingTest | 4 | 0 | 0 | 0 | 100% | 1.871
| ProgressListenerTest | 1 | 0 | 0 | 0 | 100% | 1.052
| SizesTest | 2 | 0 | 0 | 0 | 100% | 0.752
| ParameterParserTest | 4 | 0 | 0 | 0 | 100% | 0.021

## Test Cases

[Summary ][Package List ][Test Cases ]

### MultipartStreamTest

| testThreeParamConstructor | 0
| testTwoParamConstructor | 0

### FileItemHeadersTest

| testFileItemHeaders | 0

### DiskFileItemSerializeTest

| testBelowThreshold | 0.008
| testThreshold | 0.001
| testAboveThreshold | 0.006

### DefaultFileItemTest

| testTextFieldConstruction | 0.001
| testFileFieldConstruction | 0
| testBelowThreshold | 0
| testAboveThresholdDefaultRepository | 0.001
| testAboveThresholdSpecifiedRepository | 0
| testContentCharSet | 0.001

### ServletFileUploadTest

| testWithInvalidRequest | 0.001
| testWithNullContentType | 0
| testFileUpload | 0.001
| testFilenameCaseSensitivity | 0
| testEmptyFile | 0
| testIE5MacBug | 0
| testFILEUPLOAD62 | 0.002
| testFoldedHeaders | 0.009

### StreamingTest

| testFileUpload | 0.912
| testFileUploadException | 0.589
| testIOException | 0.364
| testFILEUPLOAD135 | 0

### ProgressListenerTest

| testProgressListener | 1.051

### SizesTest

| testFileUpload | 0.749
| testFileSizeLimit | 0.002

### ParameterParserTest

| testParsing | 0.006
| testContentTypeParsing | 0.001
| testParsingEscapedChars | 0
| testFileUpload139 | 0.001