equal
deleted
inserted
replaced
32 */ |
32 */ |
33 public class JPackageHelpTest { |
33 public class JPackageHelpTest { |
34 |
34 |
35 // Platform specific help messages. |
35 // Platform specific help messages. |
36 private static final String WINDOWS_HELP = |
36 private static final String WINDOWS_HELP = |
37 "The following options are valid for Windows platforms"; |
37 "--win-dir-chooser"; |
38 private static final String OSX_HELP = |
38 private static final String OSX_HELP = |
39 "The following options are valid for Mac OS X platforms"; |
39 "--mac-bundle-identifier"; |
40 private static final String LINUX_HELP = |
40 private static final String LINUX_HELP = |
41 "The following options are valid for Linux platforms"; |
41 "--linux-bundle-name"; |
42 |
42 |
43 private static void validate(String output1, String output2) |
43 private static void validate(String output1, String output2) |
44 throws Exception { |
44 throws Exception { |
45 if (output1.split("\n").length < 25) { |
45 if (output1.split("\n").length < 25) { |
46 throw new AssertionError("jpacakger --help failed"); |
46 throw new AssertionError("jpacakger --help failed"); |