test/jdk/tools/jpackage/share/AddLaunchersTest.java
branchJDK-8200758-branch
changeset 58993 b5e1baa9d2c3
parent 58888 d802578912f3
child 58994 b09ba68c6a19
equal deleted inserted replaced
58992:7249e95cc439 58993:b5e1baa9d2c3
    33  */
    33  */
    34 public class AddLaunchersTest {
    34 public class AddLaunchersTest {
    35     private static final String OUTPUT = "output";
    35     private static final String OUTPUT = "output";
    36     private static final String [] CMD1 = {
    36     private static final String [] CMD1 = {
    37         "--description", "Test non modular app with multiple add-launchers where one is modular app and other is non modular app",
    37         "--description", "Test non modular app with multiple add-launchers where one is modular app and other is non modular app",
    38         "--package-type", "app-image",
    38         "--type", "app-image",
    39         "--input", "input",
    39         "--input", "input",
    40         "--dest", OUTPUT,
    40         "--dest", OUTPUT,
    41         "--name", "test",
    41         "--name", "test",
    42         "--main-jar", "hello.jar",
    42         "--main-jar", "hello.jar",
    43         "--main-class", "Hello",
    43         "--main-class", "Hello",
    46         "--add-launcher", "test3=j1.properties",
    46         "--add-launcher", "test3=j1.properties",
    47         "--add-launcher", "test4=m1.properties"};
    47         "--add-launcher", "test4=m1.properties"};
    48 
    48 
    49     private static final String [] CMD2 = {
    49     private static final String [] CMD2 = {
    50         "--description", "Test modular app with multiple add-launchers where one is modular app and other is non modular app",
    50         "--description", "Test modular app with multiple add-launchers where one is modular app and other is non modular app",
    51         "--package-type", "app-image",
    51         "--type", "app-image",
    52         "--input", "input",
    52         "--input", "input",
    53         "--dest", OUTPUT,
    53         "--dest", OUTPUT,
    54         "--name", "test",
    54         "--name", "test",
    55         "--module", "com.hello/com.hello.Hello",
    55         "--module", "com.hello/com.hello.Hello",
    56         "--module-path", "module",
    56         "--module-path", "module",