Class getContentType_Test
- java.lang.Object
- 
- com.sun.javatest.lib.MultiTest
- 
- javasoft.sqe.tests.api.javax.activation.URLDataSource.getContentType_Test
 
 
- 
- All Implemented Interfaces:
- com.sun.javatest.Test
 
 public class getContentType_Test extends com.sun.javatest.lib.MultiTestCreate an instance URLDataSource, use it to call getContentType() api, if it returns content type string then this testcase passes, otherwise it fails.
- 
- 
Constructor SummaryConstructors Constructor Description getContentType_Test()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.sun.javatest.StatusgetContentTypeTest1()com.sun.javatest.StatusgetContentTypeTest2()static voidmain(java.lang.String[] argv)
 
- 
- 
- 
Method Detail- 
mainpublic static void main(java.lang.String[] argv) 
 - 
getContentTypeTest1public com.sun.javatest.Status getContentTypeTest1() throws java.io.IOException, java.net.MalformedURLException- Throws:
- java.io.IOException
- java.net.MalformedURLException
 
 - 
getContentTypeTest2public com.sun.javatest.Status getContentTypeTest2() throws java.io.IOException, java.net.MalformedURLException- Throws:
- java.io.IOException
- java.net.MalformedURLException
 
 
- 
 
-