< prev index next >
test/jdk/tools/jpackage/windows/WinShortcutTest.java
Print this page
@@ -19,10 +19,11 @@
* 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;
import jdk.jpackage.test.PackageType;
/**
* Test --win-shortcut parameter. Output of the test should be
@@ -36,17 +37,19 @@
* @test
* @summary jpackage with --win-shortcut
* @library ../helpers
* @requires (os.family == "windows")
* @modules jdk.jpackage/jdk.jpackage.internal
- * @run main/othervm -Xmx512m WinShortcutTest
+ * @run main/othervm/timeout=360 -Xmx512m WinShortcutTest
*/
public class WinShortcutTest {
public static void main(String[] args) {
+ Test.run(args, () -> {
new PackageTest()
.forTypes(PackageType.WINDOWS)
.configureHelloApp()
.addInitializer(cmd -> cmd.addArgument("--win-shortcut"))
.run();
+ });
}
}
< prev index next >