Class getPreferredCommands_Test

  • All Implemented Interfaces:
    com.sun.javatest.Test

    public class getPreferredCommands_Test
    extends java.lang.Object
    implements com.sun.javatest.Test
    CommandMap is an abstract class. The main functional testing is in the only provided concrete implementation, MailcapCommandMap, done separately.

    We first get the default CommandMap object, then use it to get call the getPreferredCommands() api with string parameter, if it returns a non-null CommandInfo array object then this testcase passes otherwise it fails.

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] argv)  
      com.sun.javatest.Status run​(java.lang.String[] argv, java.io.PrintWriter outLog, java.io.PrintWriter outConsole)  
      • Methods inherited from class java.lang.Object

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

      • getPreferredCommands_Test

        public getPreferredCommands_Test()
    • Method Detail

      • main

        public static void main​(java.lang.String[] argv)
      • run

        public com.sun.javatest.Status run​(java.lang.String[] argv,
                                           java.io.PrintWriter outLog,
                                           java.io.PrintWriter outConsole)
        Specified by:
        run in interface com.sun.javatest.Test