com.sun.javatest.Testpublic class getContentType_Test
extends java.lang.Object
implements com.sun.javatest.Test
Create an instance of FileTypeMap, then use it to call getContentType() api, with various {File|String} parameters. If this method returns a non-null string object then this testcase passes, otherwise it fails.
| Constructor | Description |
|---|---|
getContentType_Test() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
main(java.lang.String[] argv) |
|
com.sun.javatest.Status |
run(java.lang.String[] argv,
java.io.PrintWriter outLog,
java.io.PrintWriter outConsole) |