public class MimetypesFileTypeMap_Test
extends com.sun.javatest.lib.MultiTest
Test: MimetypesFileTypeMap(String) ; specify a mimetypes file to append to the registry.
Test: MimetypesFileTypeMap(InputStream) ; specify a mimetypes file as an InputStream
If we successfully can create objects of MimetypesFileTypeMap using the above constructors, then this testcase passes, otherwise it fails.
Constructor and Description |
---|
MimetypesFileTypeMap_Test() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] argv) |
com.sun.javatest.Status |
MimetypesFileTypeMapTest1() |
com.sun.javatest.Status |
MimetypesFileTypeMapTest2() |
com.sun.javatest.Status |
MimetypesFileTypeMapTest3() |
public static void main(java.lang.String[] argv)
public com.sun.javatest.Status MimetypesFileTypeMapTest1()
public com.sun.javatest.Status MimetypesFileTypeMapTest2() throws java.io.IOException
java.io.IOException
public com.sun.javatest.Status MimetypesFileTypeMapTest3() throws java.io.FileNotFoundException, java.io.IOException
java.io.FileNotFoundException
java.io.IOException