Class match_Test

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

    public class match_Test
    extends com.sun.javatest.lib.MultiTest
    Test: boolean match(MimeType); Determine of the primary and sub type of this object is the same as the what is in the given type.

    Test: boolean match(String); Determine of the primary and sub type of this object is the same as the content type described in rawdata.

    Create a MimeType instance, use it to call match() method with mimetype/string parameters, if match returns boolean value then this test 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
    • Constructor Summary

      Constructors 
      Constructor Description
      match_Test()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] argv)  
      com.sun.javatest.Status matchTest1()  
      com.sun.javatest.Status matchTest2()  
      • 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

      • match_Test

        public match_Test()
    • Method Detail

      • main

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

        public com.sun.javatest.Status matchTest1()
      • matchTest2

        public com.sun.javatest.Status matchTest2()