test/jdk/tools/jpackage/createappimage/JPackageCreateAppImageAddLaunchersTest.java
equal
deleted
inserted
replaced
32 * @run main/othervm -Xmx512m JPackageCreateAppImageAddLaunchersTest |
32 * @run main/othervm -Xmx512m JPackageCreateAppImageAddLaunchersTest |
33 */ |
33 */ |
34 public class JPackageCreateAppImageAddLaunchersTest { |
34 public class JPackageCreateAppImageAddLaunchersTest { |
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 "create-app-image", |
|
38 "--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", |
39 "--input", "input", |
38 "--input", "input", |
40 "--output", OUTPUT, |
39 "--output", OUTPUT, |
41 "--name", "test", |
40 "--name", "test", |
42 "--main-jar", "hello.jar", |
41 "--main-jar", "hello.jar", |
45 "--add-modules", "com.hello", |
44 "--add-modules", "com.hello", |
46 "--add-launcher", "test3=j1.properties", |
45 "--add-launcher", "test3=j1.properties", |
47 "--add-launcher", "test4=m1.properties"}; |
46 "--add-launcher", "test4=m1.properties"}; |
48 |
47 |
49 private static final String [] CMD2 = { |
48 private static final String [] CMD2 = { |
50 "create-app-image", |
|
51 "--description", "Test modular app with multiple add-launchers where one is modular app and other is non modular app", |
49 "--description", "Test modular app with multiple add-launchers where one is modular app and other is non modular app", |
52 "--input", "input", |
50 "--input", "input", |
53 "--output", OUTPUT, |
51 "--output", OUTPUT, |
54 "--name", "test", |
52 "--name", "test", |
55 "--module", "com.hello/com.hello.Hello", |
53 "--module", "com.hello/com.hello.Hello", |