Class MimetypesFileTypeMap_Test

  • All Implemented Interfaces:
    com.sun.javatest.Test

    public class MimetypesFileTypeMap_Test
    extends com.sun.javatest.lib.MultiTest
    Test: MimetypesFileTypeMap() ; default constructor

    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.

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.sun.javatest.lib.MultiTest

        com.sun.javatest.lib.MultiTest.SetupException
    • Field Summary

      • Fields inherited from class com.sun.javatest.lib.MultiTest

        log, ref
    • Constructor Detail

      • MimetypesFileTypeMap_Test

        public MimetypesFileTypeMap_Test()
    • Method Detail

      • main

        public static void main​(java.lang.String[] argv)
      • MimetypesFileTypeMapTest1

        public com.sun.javatest.Status MimetypesFileTypeMapTest1()
      • MimetypesFileTypeMapTest2

        public com.sun.javatest.Status MimetypesFileTypeMapTest2()
                                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • MimetypesFileTypeMapTest3

        public com.sun.javatest.Status MimetypesFileTypeMapTest3()
                                                          throws java.io.FileNotFoundException,
                                                                 java.io.IOException
        Throws:
        java.io.FileNotFoundException
        java.io.IOException