test/jdk/tools/jpackage/share/AddModulesTest.java
branchJDK-8200758-branch
changeset 58114 42df7de58e39
parent 57446 5a5b85f00a63
child 58147 45a9084fe981
equal deleted inserted replaced
58113:885b0543f6e4 58114:42df7de58e39
    33  */
    33  */
    34 public class AddModulesTest {
    34 public class AddModulesTest {
    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         "--package-type", "app-image",
    38         "--output", OUTPUT,
    39         "--output", OUTPUT,
    39         "--name", "test",
    40         "--name", "test",
    40         "--module", "com.hello/com.hello.Hello",
    41         "--module", "com.hello/com.hello.Hello",
    41         "--module-path", "input",
    42         "--module-path", "input",
    42         "--add-modules", "java.desktop",
    43         "--add-modules", "java.desktop",
    43     };
    44     };
    44 
    45 
    45     private static final String [] CMD2 = {
    46     private static final String [] CMD2 = {
       
    47         "--package-type", "app-image",
    46         "--output", OUTPUT,
    48         "--output", OUTPUT,
    47         "--name", "test",
    49         "--name", "test",
    48         "--module", "com.hello/com.hello.Hello",
    50         "--module", "com.hello/com.hello.Hello",
    49         "--module-path", "input",
    51         "--module-path", "input",
    50         "--add-modules", "java.desktop,java.xml",
    52         "--add-modules", "java.desktop,java.xml",
    51     };
    53     };
    52 
    54 
    53     private static final String [] CMD3 = {
    55     private static final String [] CMD3 = {
       
    56         "--package-type", "app-image",
    54         "--output", OUTPUT,
    57         "--output", OUTPUT,
    55         "--name", "test",
    58         "--name", "test",
    56         "--module", "com.hello/com.hello.Hello",
    59         "--module", "com.hello/com.hello.Hello",
    57         "--module-path", "input",
    60         "--module-path", "input",
    58         "--add-modules", "java.desktop",
    61         "--add-modules", "java.desktop",