56 "appletviewer", // deprecated, don't test
57 "jaccessinspector", // gui, don't test, win only
58 "jaccesswalker", // gui, don't test, win only
59 "jconsole", // gui, don't test
60 "servertool", // none. Shell, don't test.
61 "javaw", // don't test, win only
62 // The flags of these tools need to be fixed in Java EE.
63 // The tools are deprecated for removal in Java SE. Don't test.
64 "idlj",
65 "orbd",
66 "schemagen",
67 "tnameserv",
68 "wsgen",
69 "wsimport",
70 "xjc",
71 // These shall have a help message that resembles that of
72 // MIT's tools. Thus -?, -h and --help are supported, but not
73 // mentioned in the help text.
74 "kinit",
75 "klist",
76 "ktab"
77 };
78
79 // Lists which tools support which flags.
80 private static class ToolHelpSpec {
81 String toolname;
82
83 // How the flags supposed to be supported are handled.
84 //
85 // These flags are supported, i.e.,
86 // * the tool accepts the flag
87 // * the tool prints a help message if the flag is specified
88 // * this help message lists the flag
89 // * the tool exits with exit code '0'.
90 boolean supportsQuestionMark;
91 boolean supportsH;
92 boolean supportsHelp;
93
94 // One tool returns with exit code != '0'.
95 int exitcodeOfHelp;
96
|
56 "appletviewer", // deprecated, don't test
57 "jaccessinspector", // gui, don't test, win only
58 "jaccesswalker", // gui, don't test, win only
59 "jconsole", // gui, don't test
60 "servertool", // none. Shell, don't test.
61 "javaw", // don't test, win only
62 // The flags of these tools need to be fixed in Java EE.
63 // The tools are deprecated for removal in Java SE. Don't test.
64 "idlj",
65 "orbd",
66 "schemagen",
67 "tnameserv",
68 "wsgen",
69 "wsimport",
70 "xjc",
71 // These shall have a help message that resembles that of
72 // MIT's tools. Thus -?, -h and --help are supported, but not
73 // mentioned in the help text.
74 "kinit",
75 "klist",
76 "ktab",
77 // Test not configured for Oracle proprietary tools, skip.
78 "jmc",
79 "jweblauncher",
80 "javapackager",
81 "jcontrol",
82 "ssvagent"
83 };
84
85 // Lists which tools support which flags.
86 private static class ToolHelpSpec {
87 String toolname;
88
89 // How the flags supposed to be supported are handled.
90 //
91 // These flags are supported, i.e.,
92 // * the tool accepts the flag
93 // * the tool prints a help message if the flag is specified
94 // * this help message lists the flag
95 // * the tool exits with exit code '0'.
96 boolean supportsQuestionMark;
97 boolean supportsH;
98 boolean supportsHelp;
99
100 // One tool returns with exit code != '0'.
101 int exitcodeOfHelp;
102
|