test/jdk/tools/jpackage/createappimage/JPackageCreateAppImageAddModulesTest.java
branchJDK-8200758-branch
changeset 57414 6eda749d3117
parent 57324 c1d3935fbb79
equal deleted inserted replaced
57413:45c74e654794 57414:6eda749d3117
    33  */
    33  */
    34 public class JPackageCreateAppImageAddModulesTest {
    34 public class JPackageCreateAppImageAddModulesTest {
    35     private static final String OUTPUT = "output";
    35     private static final String OUTPUT = "output";
    36 
    36 
    37     private static final String [] CMD1 = {
    37     private static final String [] CMD1 = {
    38         "create-app-image",
       
    39         "--output", OUTPUT,
    38         "--output", OUTPUT,
    40         "--name", "test",
    39         "--name", "test",
    41         "--module", "com.hello/com.hello.Hello",
    40         "--module", "com.hello/com.hello.Hello",
    42         "--module-path", "input",
    41         "--module-path", "input",
    43         "--add-modules", "java.desktop",
    42         "--add-modules", "java.desktop",
    44     };
    43     };
    45 
    44 
    46     private static final String [] CMD2 = {
    45     private static final String [] CMD2 = {
    47         "create-app-image",
       
    48         "--output", OUTPUT,
    46         "--output", OUTPUT,
    49         "--name", "test",
    47         "--name", "test",
    50         "--module", "com.hello/com.hello.Hello",
    48         "--module", "com.hello/com.hello.Hello",
    51         "--module-path", "input",
    49         "--module-path", "input",
    52         "--add-modules", "java.desktop,java.xml",
    50         "--add-modules", "java.desktop,java.xml",
    53     };
    51     };
    54 
    52 
    55     private static final String [] CMD3 = {
    53     private static final String [] CMD3 = {
    56         "create-app-image",
       
    57         "--output", OUTPUT,
    54         "--output", OUTPUT,
    58         "--name", "test",
    55         "--name", "test",
    59         "--module", "com.hello/com.hello.Hello",
    56         "--module", "com.hello/com.hello.Hello",
    60         "--module-path", "input",
    57         "--module-path", "input",
    61         "--add-modules", "java.desktop",
    58         "--add-modules", "java.desktop",