Class getContentType_Test
- java.lang.Object
-
- com.sun.javatest.lib.MultiTest
-
- javasoft.sqe.tests.jakarta.activation.MimetypesFileTypeMap.getContentType_Test
-
- All Implemented Interfaces:
com.sun.javatest.Test
public class getContentType_Test extends com.sun.javatest.lib.MultiTest
Create an instance of MimetypesFileTypeMap then call getContentType() method with filename parameter and if it returns the type (string) of the file object then this test 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 com.sun.javatest.Status
getContentTypeTest()
static void
main(java.lang.String[] argv)
-