< prev index next >
test/jdk/tools/jpackage/JPackageHelpTest.java
Print this page
*** 32,46 ****
*/
public class JPackageHelpTest {
// Platform specific help messages.
private static final String WINDOWS_HELP =
! "The following options are valid for Windows platforms";
private static final String OSX_HELP =
! "The following options are valid for Mac OS X platforms";
private static final String LINUX_HELP =
! "The following options are valid for Linux platforms";
private static void validate(String output1, String output2)
throws Exception {
if (output1.split("\n").length < 25) {
throw new AssertionError("jpacakger --help failed");
--- 32,46 ----
*/
public class JPackageHelpTest {
// Platform specific help messages.
private static final String WINDOWS_HELP =
! "--win-dir-chooser";
private static final String OSX_HELP =
! "--mac-bundle-identifier";
private static final String LINUX_HELP =
! "--linux-bundle-name";
private static void validate(String output1, String output2)
throws Exception {
if (output1.split("\n").length < 25) {
throw new AssertionError("jpacakger --help failed");
< prev index next >