public class match_Test
extends com.sun.javatest.lib.MultiTest
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 | Description |
---|---|
match_Test() |
Modifier and Type | Method | Description |
---|---|---|
static void |
main(java.lang.String[] argv) |
|
com.sun.javatest.Status |
matchTest1() |
|
com.sun.javatest.Status |
matchTest2() |