multipart
Class MultipartTest

java.lang.Object
  extended by multipart.MultipartTest

public class MultipartTest
extends java.lang.Object

JUnit tests for the multipart downloader.


Constructor Summary
MultipartTest()
           
 
Method Summary
 void emptyFile()
          If the downloader is asked to download a normal, empty file, then a valid InputStream should be returned, but should report end-of-file for every read.
 void emptyPartsFile()
          If the downloader is asked to download a multi-part, empty file, then a valid InputStream should be returned, but should report end-of-file for every read.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipartTest

public MultipartTest()
Method Detail

emptyFile

public void emptyFile()
               throws java.io.IOException
If the downloader is asked to download a normal, empty file, then a valid InputStream should be returned, but should report end-of-file for every read.

Throws:
java.io.IOException

emptyPartsFile

public void emptyPartsFile()
                    throws java.io.IOException
If the downloader is asked to download a multi-part, empty file, then a valid InputStream should be returned, but should report end-of-file for every read.

Throws:
java.io.IOException