< prev index next >

test/jdk/tools/jpackage/share/AddLauncherModuleTest.java

Print this page

        

*** 25,52 **** * @test * @summary jpackage create image with additional launcher test * @library ../helpers * @build JPackageHelper * @build JPackagePath ! * @build JPackageCreateAppImageAddLauncherBase ! * @modules jdk.jpackage ! * @run main/othervm -Xmx512m JPackageCreateAppImageAddLauncherModuleTest */ ! public class JPackageCreateAppImageAddLauncherModuleTest { private static final String OUTPUT = "output"; private static final String [] CMD = { ! "create-app-image", ! "--output", OUTPUT, "--name", "test", "--module", "com.hello/com.hello.Hello", "--module-path", "input", "--add-launcher", "test2=sl.properties"}; public static void main(String[] args) throws Exception { JPackageHelper.createHelloModule(); ! JPackageCreateAppImageAddLauncherBase.createSLProperties(); ! JPackageCreateAppImageAddLauncherBase.testCreateAppImage(CMD); ! JPackageHelper.deleteOutputFolder(OUTPUT); ! JPackageCreateAppImageAddLauncherBase.testCreateAppImageToolProvider(CMD); } } --- 25,51 ---- * @test * @summary jpackage create image with additional launcher test * @library ../helpers * @build JPackageHelper * @build JPackagePath ! * @build AddLauncherBase ! * @modules jdk.incubator.jpackage ! * @run main/othervm -Xmx512m AddLauncherModuleTest */ ! public class AddLauncherModuleTest { private static final String OUTPUT = "output"; private static final String [] CMD = { ! "--type", "app-image", ! "--dest", OUTPUT, "--name", "test", "--module", "com.hello/com.hello.Hello", "--module-path", "input", "--add-launcher", "test2=sl.properties"}; public static void main(String[] args) throws Exception { JPackageHelper.createHelloModule(); ! AddLauncherBase.createSLProperties(); ! AddLauncherBase.testCreateAppImageToolProvider( ! CMD); } }
< prev index next >