test/jdk/tools/jpackage/linux/ShortcutHintTest.java
branchJDK-8200758-branch
changeset 58761 88e2753a2334
parent 58416 f09bf58c1f17
child 58762 0fe62353385b
equal deleted inserted replaced
58696:61c44899b4eb 58761:88e2753a2334
    47 
    47 
    48 /*
    48 /*
    49  * @test
    49  * @test
    50  * @summary jpackage with --linux-shortcut
    50  * @summary jpackage with --linux-shortcut
    51  * @library ../helpers
    51  * @library ../helpers
       
    52  * @key jpackagePlatformPackage
       
    53  * @requires jpackage.test.SQETest == null
    52  * @build jdk.jpackage.test.*
    54  * @build jdk.jpackage.test.*
    53  * @requires (os.family == "linux")
    55  * @requires (os.family == "linux")
    54  * @modules jdk.jpackage/jdk.jpackage.internal
    56  * @modules jdk.jpackage/jdk.jpackage.internal
    55  * @compile ShortcutHintTest.java
    57  * @compile ShortcutHintTest.java
    56  * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
    58  * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
    57  *  --jpt-run=ShortcutHintTest
    59  *  --jpt-run=ShortcutHintTest
    58  */
    60  */
       
    61 
       
    62 /*
       
    63  * @test
       
    64  * @summary jpackage with --linux-shortcut
       
    65  * @library ../helpers
       
    66  * @key jpackagePlatformPackage
       
    67  * @build jdk.jpackage.test.*
       
    68  * @requires (os.family == "linux")
       
    69  * @requires jpackage.test.SQETest != null
       
    70  * @modules jdk.jpackage/jdk.jpackage.internal
       
    71  * @compile ShortcutHintTest.java
       
    72  * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
       
    73  *  --jpt-run=ShortcutHintTest.testBasic
       
    74  */
       
    75 
    59 public class ShortcutHintTest {
    76 public class ShortcutHintTest {
    60 
    77 
    61     @Test
    78     @Test
    62     public static void testBasic() {
    79     public static void testBasic() {
    63         createTest().addInitializer(cmd -> {
    80         createTest().addInitializer(cmd -> {