equal
deleted
inserted
replaced
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 import jdk.jpackage.test.Test; |
24 import jdk.jpackage.test.TKit; |
25 import jdk.jpackage.test.PackageTest; |
25 import jdk.jpackage.test.PackageTest; |
26 |
26 |
27 /** |
27 /** |
28 * Simple platform specific packaging test. Output of the test should be |
28 * Simple platform specific packaging test. Output of the test should be |
29 * simplepackagetest*.* package bundle. |
29 * simplepackagetest*.* package bundle. |
39 |
39 |
40 /* |
40 /* |
41 * @test |
41 * @test |
42 * @summary Simple jpackage command run |
42 * @summary Simple jpackage command run |
43 * @library ../helpers |
43 * @library ../helpers |
|
44 * @build jdk.jpackage.test.* |
44 * @modules jdk.jpackage/jdk.jpackage.internal |
45 * @modules jdk.jpackage/jdk.jpackage.internal |
45 * @run main/othervm/timeout=360 -Xmx512m SimplePackageTest |
46 * @run main/othervm/timeout=360 -Xmx512m SimplePackageTest |
46 */ |
47 */ |
47 public class SimplePackageTest { |
48 public class SimplePackageTest { |
48 |
49 |
49 public static void main(String[] args) { |
50 public static void main(String[] args) { |
50 Test.run(args, () -> { |
51 TKit.run(args, () -> { |
51 new PackageTest() |
52 new PackageTest() |
52 .configureHelloApp() |
53 .configureHelloApp() |
53 .addBundleDesktopIntegrationVerifier(false) |
54 .addBundleDesktopIntegrationVerifier(false) |
54 .run(); |
55 .run(); |
55 }); |
56 }); |