Class getContentType_Test
- java.lang.Object
-
- javasoft.sqe.tests.api.javax.activation.FileTypeMap.getContentType_Test
-
- All Implemented Interfaces:
com.sun.javatest.Test
public class getContentType_Test extends java.lang.Object implements com.sun.javatest.Test
FileTypeMap is an abstract class. The main functional testing is in the only provided concrete implementation, MimetypesFileTypeMap, tested separately.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 Summary
Constructors Constructor Description getContentType_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
run(java.lang.String[] argv, java.io.PrintWriter outLog, java.io.PrintWriter outConsole)
-