Class 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 MailcapCommandMap

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.sun.javatest.lib.MultiTest

        com.sun.javatest.lib.MultiTest.SetupException
    • Field Summary

      • Fields inherited from class com.sun.javatest.lib.MultiTest

        log, ref
    • 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)  
      • Methods inherited from class com.sun.javatest.lib.MultiTest

        decodeAllArgs, decodeArg, init, invokeTestCase, run, run
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • loadFromLib_Test

        public loadFromLib_Test()
    • 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 class com.sun.javatest.lib.MultiTest
        Throws:
        com.sun.javatest.lib.MultiTest.SetupException
      • loadFromLibTest

        public com.sun.javatest.Status loadFromLibTest()