< prev index next >
test/jdk/tools/jpackage/share/SimplePackageTest.java
Print this page
*** 19,28 ****
--- 19,29 ----
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
+ import jdk.jpackage.test.Test;
import jdk.jpackage.test.PackageTest;
/**
* Simple platform specific packaging test. Output of the test should be
* simplepackagetest*.* package bundle.
*** 43,51 ****
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm/timeout=360 -Xmx512m SimplePackageTest
*/
public class SimplePackageTest {
! public static void main(String[] args) throws Exception {
! new PackageTest().configureHelloApp().run();
}
}
--- 44,57 ----
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm/timeout=360 -Xmx512m SimplePackageTest
*/
public class SimplePackageTest {
! public static void main(String[] args) {
! Test.run(args, () -> {
! new PackageTest()
! .configureHelloApp()
! .addBundleDesktopIntegrationVerifier(false)
! .run();
! });
}
}
< prev index next >