test/jdk/tools/jpackage/createinstaller/windows/base/JPackageCreateInstallerFileAssociationsBase.java
branchJDK-8200758-branch
changeset 57414 6eda749d3117
parent 57307 4948a1944cf9
equal deleted inserted replaced
57413:45c74e654794 57414:6eda749d3117
   141         EXT = ext;
   141         EXT = ext;
   142         TEST_EXT = testExt;
   142         TEST_EXT = testExt;
   143         OUTPUT = "output" + File.separator + TEST_NAME + "-1.0." + EXT;
   143         OUTPUT = "output" + File.separator + TEST_NAME + "-1.0." + EXT;
   144         if (installDir == null) {
   144         if (installDir == null) {
   145             CMD = new String[]{
   145             CMD = new String[]{
   146                 "create-installer",
   146                 "--package-type", EXT,
   147                 "--installer-type", EXT,
       
   148                 "--input", "input",
   147                 "--input", "input",
   149                 "--output", "output",
   148                 "--output", "output",
   150                 "--name", TEST_NAME,
   149                 "--name", TEST_NAME,
   151                 "--main-jar", "hello.jar",
   150                 "--main-jar", "hello.jar",
   152                 "--main-class", "Hello",
   151                 "--main-class", "Hello",
   153                 "--file-associations", "fa.properties"};
   152                 "--file-associations", "fa.properties"};
   154         } else {
   153         } else {
   155             CMD = new String[]{
   154             CMD = new String[]{
   156                 "create-installer",
   155                 "--package-type", EXT,
   157                 "--installer-type", EXT,
       
   158                 "--input", "input",
   156                 "--input", "input",
   159                 "--output", "output",
   157                 "--output", "output",
   160                 "--name", TEST_NAME,
   158                 "--name", TEST_NAME,
   161                 "--main-jar", "hello.jar",
   159                 "--main-jar", "hello.jar",
   162                 "--main-class", "Hello",
   160                 "--main-class", "Hello",