public class DataHandler_Test
extends com.sun.javatest.lib.MultiTest
Constructor and Description |
---|
DataHandler_Test() |
Modifier and Type | Method and Description |
---|---|
com.sun.javatest.Status |
dataHandlerTest1()
dataHandlerTest1: a contructor test for DataHandler(DataSource);
|
com.sun.javatest.Status |
dataHandlerTest2()
dataHandlerTest2: test a contructor DataHandler(String, String);
|
com.sun.javatest.Status |
dataHandlerTest3()
dataHandlerTest3: attempt to construct a DataSource that cannot provide an output stream
test for appropriate exception from DataHandler.getOutputStream
|
com.sun.javatest.Status |
dataHandlerTest4()
dataHandlerTest4: attempt to constrcut a DataSource that cannot provide an input stream
test for appropriate exception from DataHandler.getInputStream, writeTo (which copies
getInputStream to the provide OutputStream.
|
com.sun.javatest.Status |
dataHandlerTest5()
dataHandlerTest5: Test the DataHandler(URL) constructor.
|
static void |
main(java.lang.String[] argv) |
public static void main(java.lang.String[] argv)
public com.sun.javatest.Status dataHandlerTest1()
public com.sun.javatest.Status dataHandlerTest2()
public com.sun.javatest.Status dataHandlerTest3()
public com.sun.javatest.Status dataHandlerTest4() throws java.io.IOException
java.io.IOException
- neverpublic com.sun.javatest.Status dataHandlerTest5() throws java.io.IOException
java.io.IOException
- never