Class getContentType_Test

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

    public class getContentType_Test
    extends com.sun.javatest.lib.MultiTest
    Create DataHandler objects with mimetype string, then use it to call getContentType() api if it returns the expected mimetype value 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

        excludeTestCases, log, ref, testArgTypes, testCases, testClass, testMethods
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.sun.javatest.Status getContentTypeTest1()  
      com.sun.javatest.Status getContentTypeTest2()  
      static void main​(java.lang.String[] argv)  
      • Methods inherited from class com.sun.javatest.lib.MultiTest

        decodeAllArgs, decodeArg, getAllTestCases, getTestCase, init, init, invokeTestCase, reverse, run, run
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • getContentType_Test

        public getContentType_Test()
    • Method Detail

      • main

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

        public com.sun.javatest.Status getContentTypeTest1()
      • getContentTypeTest2

        public com.sun.javatest.Status getContentTypeTest2()