8220471: two test fixes missed in push. JDK-8200758-branch
authorherrick
Mon, 11 Mar 2019 21:00:22 -0400
branchJDK-8200758-branch
changeset 57258 ea75e8d7e34f
parent 57257 69ad9df313e4
child 57259 a84c657c713d
8220471: two test fixes missed in push. Reviewed-by: aherrick
test/jdk/tools/jpackage/JPackageHelpTest.java
test/jdk/tools/jpackage/createimage/JPackageCreateImageRuntimeModuleTest.java
--- a/test/jdk/tools/jpackage/JPackageHelpTest.java	Mon Mar 11 15:15:16 2019 -0400
+++ b/test/jdk/tools/jpackage/JPackageHelpTest.java	Mon Mar 11 21:00:22 2019 -0400
@@ -34,11 +34,11 @@
 
     // Platform specific help messages.
     private static final String WINDOWS_HELP =
-            "The following options are valid for Windows platforms";
+            "--win-dir-chooser";
     private static final String OSX_HELP =
-            "The following options are valid for Mac OS X platforms";
+            "--mac-bundle-identifier";
     private static final String LINUX_HELP =
-            "The following options are valid for Linux platforms";
+            "--linux-bundle-name";
 
     private static void validate(String output1, String output2)
             throws Exception {
--- a/test/jdk/tools/jpackage/createimage/JPackageCreateImageRuntimeModuleTest.java	Mon Mar 11 15:15:16 2019 -0400
+++ b/test/jdk/tools/jpackage/createimage/JPackageCreateImageRuntimeModuleTest.java	Mon Mar 11 21:00:22 2019 -0400
@@ -38,7 +38,6 @@
         "--runtime-image", "runtime",
         "--output", OUTPUT,
         "--name", "test",
-        "--win-console",
         "--module", "com.hello/com.hello.Hello",
         "--module-path", "input"};