Class getInputStream_Test
- java.lang.Object
-
- com.sun.javatest.lib.MultiTest
-
- javasoft.sqe.tests.api.jakarta.activation.URLDataSource.getInputStream_Test
-
- All Implemented Interfaces:
com.sun.javatest.Test
public class getInputStream_Test extends com.sun.javatest.lib.MultiTest
Create an instance of URLDataSource, use it call getInputStream() api, if it returns non-null object of type InputStream, then this testcase passes, otherwise it fails.
-
-
Constructor Summary
Constructors Constructor Description getInputStream_Test()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.sun.javatest.Status
getInputStreamTest1()
com.sun.javatest.Status
getInputStreamTest2()
static void
main(java.lang.String[] argv)
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] argv)
-
getInputStreamTest1
public com.sun.javatest.Status getInputStreamTest1() throws java.io.IOException, java.net.MalformedURLException
- Throws:
java.io.IOException
java.net.MalformedURLException
-
getInputStreamTest2
public com.sun.javatest.Status getInputStreamTest2() throws java.io.IOException, java.net.MalformedURLException
- Throws:
java.io.IOException
java.net.MalformedURLException
-
-