test/jdk/tools/jpackage/share/jdk/jpackage/tests/BasicTest.java
branchJDK-8200758-branch
changeset 58466 47f0d21c7e8d
parent 58463 4e71249f291c
child 58648 3bf53ffa9ae7
equal deleted inserted replaced
58464:d82489644b15 58466:47f0d21c7e8d
   103         .helloAppImage("com.other/com.other.Hello")
   103         .helloAppImage("com.other/com.other.Hello")
   104         .executeAndAssertHelloAppImageCreated();
   104         .executeAndAssertHelloAppImageCreated();
   105     }
   105     }
   106 
   106 
   107     @Test
   107     @Test
   108 //    @Parameter("ALL-MODULE-PATH") ; This test fails
   108     @Parameter("ALL-MODULE-PATH")
   109     @Parameter("ALL-DEFAULT")
   109     @Parameter("ALL-DEFAULT")
       
   110     @Parameter("jdk.desktop,jdk.jartool")
   110     public void testAddModules(String addModulesArg) {
   111     public void testAddModules(String addModulesArg) {
   111         JPackageCommand cmd = new JPackageCommand()
   112         JPackageCommand cmd = new JPackageCommand()
   112             .helloAppImage("com.other/com.other.Hello");
   113             .helloAppImage("com.other/com.other.Hello");
   113         if (!addModulesArg.isEmpty()) {
   114         if (!addModulesArg.isEmpty()) {
   114             cmd.addArguments("--add-modules", addModulesArg);
   115             cmd.addArguments("--add-modules", addModulesArg);