Class loadFromLib_Test
- java.lang.Object
-
- com.sun.javatest.lib.MultiTest
-
- javasoft.sqe.tests.jakarta.activation.MimetypesFileTypeMap.loadFromLib_Test
-
- All Implemented Interfaces:
com.sun.javatest.Test
public class loadFromLib_Test extends com.sun.javatest.lib.MultiTest
This class tests that resource files are loaded as expected.api2test: public String[] getNativeCommands(String)
how2test: Create a MimetypesFileTypeMap
-
-
Constructor Summary
Constructors Constructor Description loadFromLib_Test()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init()
We don't expect to be able to write into java.home so create a fake java.home and point the System property to it.com.sun.javatest.Status
loadFromLibTest()
static void
main(java.lang.String[] argv)
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] argv)
-
init
public void init() throws com.sun.javatest.lib.MultiTest.SetupException
We don't expect to be able to write into java.home so create a fake java.home and point the System property to it.- Overrides:
init
in classcom.sun.javatest.lib.MultiTest
- Throws:
com.sun.javatest.lib.MultiTest.SetupException
-
loadFromLibTest
public com.sun.javatest.Status loadFromLibTest()
-
-