test/jdk/tools/jpackage/share/SimplePackageTest.java
branchJDK-8200758-branch
changeset 58301 e0efb29609bd
parent 58116 93b8c1305de2
child 58416 f09bf58c1f17
equal deleted inserted replaced
58172:bf06a1d3aef6 58301:e0efb29609bd
    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.PackageTest;
    25 import jdk.jpackage.test.PackageTest;
    25 
    26 
    26 /**
    27 /**
    27  * Simple platform specific packaging test. Output of the test should be
    28  * Simple platform specific packaging test. Output of the test should be
    28  * simplepackagetest*.* package bundle.
    29  * simplepackagetest*.* package bundle.
    43  * @modules jdk.jpackage/jdk.jpackage.internal
    44  * @modules jdk.jpackage/jdk.jpackage.internal
    44  * @run main/othervm/timeout=360 -Xmx512m SimplePackageTest
    45  * @run main/othervm/timeout=360 -Xmx512m SimplePackageTest
    45  */
    46  */
    46 public class SimplePackageTest {
    47 public class SimplePackageTest {
    47 
    48 
    48     public static void main(String[] args) throws Exception {
    49     public static void main(String[] args) {
    49         new PackageTest().configureHelloApp().run();
    50         Test.run(args, () -> {
       
    51             new PackageTest()
       
    52             .configureHelloApp()
       
    53             .addBundleDesktopIntegrationVerifier(false)
       
    54             .run();
       
    55         });
    50     }
    56     }
    51 }
    57 }