Class match_Test
- java.lang.Object
-
- com.sun.javatest.lib.MultiTest
-
- javasoft.sqe.tests.api.jakarta.activation.MimeType.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.
-
-
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()
-