8343314: Move common properties from jpackage jtreg test declarations to TEST.properties file

Reviewed-by: almatvee
This commit is contained in:
Alexey Semenyuk 2024-11-05 13:42:27 +00:00
parent 16feeb7a8e
commit c33a8f52b6
87 changed files with 175 additions and 293 deletions

View File

@ -10,3 +10,6 @@ maxOutputSize=2000000
# } # }
# but conditionals are not supported by jtreg configuration files. # but conditionals are not supported by jtreg configuration files.
exclusiveAccess.dirs=share windows exclusiveAccess.dirs=share windows
modules=jdk.jpackage/jdk.jpackage.internal:+open \
java.base/jdk.internal.util

View File

@ -44,7 +44,6 @@ import static jdk.jpackage.test.TKit.assertAssert;
* @summary Test TKit.DirectoryContentVerifier from jpackage test library * @summary Test TKit.DirectoryContentVerifier from jpackage test library
* @library /test/jdk/tools/jpackage/helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile DirectoryContentVerifierTest.java * @compile DirectoryContentVerifierTest.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=jdk.jpackage.test.DirectoryContentVerifierTest * --jpt-run=jdk.jpackage.test.DirectoryContentVerifierTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -44,13 +44,12 @@ import jdk.jpackage.test.PackageType;
/* /*
* @test * @test
* @summary jpackage with --about-url * @summary jpackage with --about-url
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build AppAboutUrlTest * @build AppAboutUrlTest
* @requires (os.family == "linux") * @requires (os.family == "linux")
* @requires (jpackage.test.SQETest == null) * @requires (jpackage.test.SQETest == null)
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=AppAboutUrlTest * --jpt-run=AppAboutUrlTest
*/ */
@ -58,13 +57,12 @@ import jdk.jpackage.test.PackageType;
/* /*
* @test * @test
* @summary jpackage with --about-url * @summary jpackage with --about-url
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build AppAboutUrlTest * @build AppAboutUrlTest
* @requires (os.family == "linux") * @requires (os.family == "linux")
* @requires (jpackage.test.SQETest != null) * @requires (jpackage.test.SQETest != null)
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=AppAboutUrlTest.test * --jpt-run=AppAboutUrlTest.test
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -43,12 +43,11 @@ import jdk.jpackage.test.PackageType;
/* /*
* @test * @test
* @summary jpackage with --linux-app-category * @summary jpackage with --linux-app-category
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build AppCategoryTest * @build AppCategoryTest
* @requires (os.family == "linux") * @requires (os.family == "linux")
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=AppCategoryTest * --jpt-run=AppCategoryTest
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -38,12 +38,11 @@ import jdk.jpackage.test.PackageType;
/* /*
* @test * @test
* @summary jpackage with --linux-rpm-license-type * @summary jpackage with --linux-rpm-license-type
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build LicenseTypeTest * @build LicenseTypeTest
* @requires (os.family == "linux") * @requires (os.family == "linux")
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=LicenseTypeTest * --jpt-run=LicenseTypeTest
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -43,12 +43,11 @@ import jdk.jpackage.test.PackageType;
/* /*
* @test * @test
* @summary jpackage with --linux-package-name * @summary jpackage with --linux-package-name
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build LinuxBundleNameTest * @build LinuxBundleNameTest
* @requires (os.family == "linux") * @requires (os.family == "linux")
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=LinuxBundleNameTest * --jpt-run=LinuxBundleNameTest
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -33,10 +33,9 @@ import java.util.List;
/* /*
* @test * @test
* @summary jpackage with --resource-dir * @summary jpackage with --resource-dir
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @requires (os.family == "linux") * @requires (os.family == "linux")
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile LinuxResourceTest.java * @compile LinuxResourceTest.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=LinuxResourceTest * --jpt-run=LinuxResourceTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,9 +30,8 @@ import jdk.jpackage.test.JPackageCommand;
* @summary jpackage with values of --dest parameter breaking jpackage launcher * @summary jpackage with values of --dest parameter breaking jpackage launcher
* @requires (os.family == "linux") * @requires (os.family == "linux")
* @bug 8268974 * @bug 8268974
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile LinuxWeirdOutputDirTest.java * @compile LinuxWeirdOutputDirTest.java
* @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=LinuxWeirdOutputDirTest * --jpt-run=LinuxWeirdOutputDirTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -39,12 +39,11 @@ import jdk.jpackage.test.Annotations.Test;
/* /*
* @test * @test
* @summary jpackage with --linux-deb-maintainer * @summary jpackage with --linux-deb-maintainer
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build MaintainerTest * @build MaintainerTest
* @requires (os.family == "linux") * @requires (os.family == "linux")
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=MaintainerTest * --jpt-run=MaintainerTest
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -46,11 +46,10 @@ import jdk.jpackage.test.Annotations.Test;
/* /*
* @test * @test
* @summary jpackage with --linux-package-deps * @summary jpackage with --linux-package-deps
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @requires (os.family == "linux") * @requires (os.family == "linux")
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile PackageDepsTest.java * @compile PackageDepsTest.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=PackageDepsTest * --jpt-run=PackageDepsTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -43,13 +43,12 @@ import jdk.jpackage.test.JPackageCommand;
/* /*
* @test * @test
* @summary jpackage with --linux-app-release * @summary jpackage with --linux-app-release
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build ReleaseTest * @build ReleaseTest
* @requires (os.family == "linux") * @requires (os.family == "linux")
* @requires (jpackage.test.SQETest == null) * @requires (jpackage.test.SQETest == null)
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=ReleaseTest * --jpt-run=ReleaseTest
*/ */
@ -57,13 +56,12 @@ import jdk.jpackage.test.JPackageCommand;
/* /*
* @test * @test
* @summary jpackage with --linux-app-release * @summary jpackage with --linux-app-release
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build ReleaseTest * @build ReleaseTest
* @requires (os.family == "linux") * @requires (os.family == "linux")
* @requires (jpackage.test.SQETest != null) * @requires (jpackage.test.SQETest != null)
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=ReleaseTest.test * --jpt-run=ReleaseTest.test
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2023, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -39,12 +39,11 @@ import jdk.jpackage.test.TKit;
/* /*
* @test * @test
* @summary jpackage with desktop integration and services on Linux * @summary jpackage with desktop integration and services on Linux
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @requires jpackage.test.SQETest == null * @requires jpackage.test.SQETest == null
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @requires (os.family == "linux") * @requires (os.family == "linux")
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile ServiceAndDesktopTest.java * @compile ServiceAndDesktopTest.java
* @run main/othervm/timeout=720 jdk.jpackage.test.Main * @run main/othervm/timeout=720 jdk.jpackage.test.Main
* --jpt-run=ServiceAndDesktopTest * --jpt-run=ServiceAndDesktopTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -53,12 +53,11 @@ import jdk.jpackage.test.Annotations.Test;
/* /*
* @test * @test
* @summary jpackage with --linux-shortcut * @summary jpackage with --linux-shortcut
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @requires jpackage.test.SQETest == null * @requires jpackage.test.SQETest == null
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @requires (os.family == "linux") * @requires (os.family == "linux")
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile ShortcutHintTest.java * @compile ShortcutHintTest.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=ShortcutHintTest * --jpt-run=ShortcutHintTest
@ -67,12 +66,11 @@ import jdk.jpackage.test.Annotations.Test;
/* /*
* @test * @test
* @summary jpackage with --linux-shortcut * @summary jpackage with --linux-shortcut
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @requires (os.family == "linux") * @requires (os.family == "linux")
* @requires jpackage.test.SQETest != null * @requires jpackage.test.SQETest != null
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile ShortcutHintTest.java * @compile ShortcutHintTest.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=ShortcutHintTest.testBasic * --jpt-run=ShortcutHintTest.testBasic

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2023, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -32,11 +32,10 @@ import jdk.jpackage.test.TKit;
/* /*
* @test * @test
* @summary Linux upgrade testing * @summary Linux upgrade testing
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @requires (os.family == "linux") * @requires (os.family == "linux")
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile UpgradeTest.java * @compile UpgradeTest.java
* @run main/othervm/timeout=360 jdk.jpackage.test.Main * @run main/othervm/timeout=360 jdk.jpackage.test.Main
* --jpt-run=UpgradeTest * --jpt-run=UpgradeTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -40,12 +40,11 @@ import jdk.jpackage.test.Annotations.Test;
/* /*
* @test * @test
* @summary jpackage command run installing app in /usr directory tree * @summary jpackage command run installing app in /usr directory tree
* @library ../../../../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @requires jpackage.test.SQETest == null * @requires jpackage.test.SQETest == null
* @requires (os.family == "linux") * @requires (os.family == "linux")
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile UsrTreeTest.java * @compile UsrTreeTest.java
* @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=UsrTreeTest * --jpt-run=UsrTreeTest

View File

@ -36,9 +36,8 @@ import jdk.jpackage.test.Annotations.Test;
/* /*
* @test * @test
* @summary jpackage with -psn * @summary jpackage with -psn
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile ArgumentsFilteringTest.java * @compile ArgumentsFilteringTest.java
* @requires (os.family == "mac") * @requires (os.family == "mac")
* @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -25,28 +25,22 @@ import java.nio.file.Path;
import jdk.jpackage.test.JPackageCommand; import jdk.jpackage.test.JPackageCommand;
import jdk.jpackage.test.PackageTest; import jdk.jpackage.test.PackageTest;
import jdk.jpackage.test.PackageType; import jdk.jpackage.test.PackageType;
import jdk.jpackage.test.MacHelper;
import jdk.jpackage.test.TKit; import jdk.jpackage.test.TKit;
import jdk.jpackage.test.Annotations.Parameter;
import jdk.jpackage.test.Annotations.Parameters; import jdk.jpackage.test.Annotations.Parameters;
import jdk.jpackage.test.Annotations.Test; import jdk.jpackage.test.Annotations.Test;
import java.util.Collection; import java.util.Collection;
import java.util.Arrays;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
/* /*
* @test * @test
* @summary jpackage with --type dmg --mac-dmg-content * @summary jpackage with --type dmg --mac-dmg-content
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @library /test/lib
* @library base
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build DmgContentTest * @build DmgContentTest
* @modules jdk.jpackage/jdk.jpackage.internal
* @requires (os.family == "mac") * @requires (os.family == "mac")
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=DmgContentTest * --jpt-run=DmgContentTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -42,9 +42,8 @@ import jdk.jpackage.test.Annotations.Test;
/* /*
* @test * @test
* @summary jpackage test to validate "hostArchitectures" attribute * @summary jpackage test to validate "hostArchitectures" attribute
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile HostArchPkgTest.java * @compile HostArchPkgTest.java
* @requires (os.family == "mac") * @requires (os.family == "mac")
* @key jpackagePlatformPackage * @key jpackagePlatformPackage

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -33,11 +33,9 @@ import jdk.jpackage.test.Annotations.Test;
/* /*
* @test * @test
* @summary jpackage with --mac-app-store and --jlink-options * @summary jpackage with --mac-app-store and --jlink-options
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @library /test/lib
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build MacAppStoreJLinkOptionsTest * @build MacAppStoreJLinkOptionsTest
* @modules jdk.jpackage/jdk.jpackage.internal
* @requires (os.family == "mac") * @requires (os.family == "mac")
* @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=MacAppStoreJLinkOptionsTest * --jpt-run=MacAppStoreJLinkOptionsTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -43,11 +43,9 @@ import jdk.jpackage.test.Annotations.Parameter;
/* /*
* @test * @test
* @summary jpackage with --mac-app-store and --runtime-image * @summary jpackage with --mac-app-store and --runtime-image
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @library /test/lib
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build MacAppStoreRuntimeTest * @build MacAppStoreRuntimeTest
* @modules jdk.jpackage/jdk.jpackage.internal
* @requires (os.family == "mac") * @requires (os.family == "mac")
* @run main/othervm -Xmx512m jdk.jpackage.test.Main * @run main/othervm -Xmx512m jdk.jpackage.test.Main
* --jpt-run=MacAppStoreRuntimeTest * --jpt-run=MacAppStoreRuntimeTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -40,10 +40,9 @@ import jdk.jpackage.test.Annotations.Test;
/* /*
* @test * @test
* @summary jpackage with --file-associations and mac specific file association args * @summary jpackage with --file-associations and mac specific file association args
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build MacFileAssociationsTest * @build MacFileAssociationsTest
* @modules jdk.jpackage/jdk.jpackage.internal
* @requires (os.family == "mac") * @requires (os.family == "mac")
* @run main/othervm -Xmx512m jdk.jpackage.test.Main * @run main/othervm -Xmx512m jdk.jpackage.test.Main
* --jpt-run=MacFileAssociationsTest * --jpt-run=MacFileAssociationsTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -35,10 +35,9 @@ import jdk.jpackage.test.Annotations.Parameter;
/* /*
* @test * @test
* @summary jpackage with --mac-package-name, --mac-package-identifier * @summary jpackage with --mac-package-name, --mac-package-identifier
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @requires (os.family == "mac") * @requires (os.family == "mac")
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile MacPropertiesTest.java * @compile MacPropertiesTest.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=MacPropertiesTest * --jpt-run=MacPropertiesTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -38,9 +38,8 @@ import jdk.jpackage.test.Annotations.Test;
/* /*
* @test * @test
* @summary jpackage test with name containing spaces * @summary jpackage test with name containing spaces
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile NameWithSpaceTest.java * @compile NameWithSpaceTest.java
* @requires (os.family == "mac") * @requires (os.family == "mac")
* @key jpackagePlatformPackage * @key jpackagePlatformPackage

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -45,7 +45,7 @@ import jdk.jpackage.test.AdditionalLauncher;
/* /*
* @test * @test
* @summary jpackage with --type app-image --mac-sign * @summary jpackage with --type app-image --mac-sign
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @library /test/lib * @library /test/lib
* @library base * @library base
* @build SigningBase * @build SigningBase
@ -53,7 +53,6 @@ import jdk.jpackage.test.AdditionalLauncher;
* @build jtreg.SkippedException * @build jtreg.SkippedException
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build SigningAppImageTest * @build SigningAppImageTest
* @modules jdk.jpackage/jdk.jpackage.internal
* @requires (os.family == "mac") * @requires (os.family == "mac")
* @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=SigningAppImageTest * --jpt-run=SigningAppImageTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -46,7 +46,7 @@ import jdk.jpackage.test.AdditionalLauncher;
/* /*
* @test * @test
* @summary jpackage with --type app-image --app-image "appImage" --mac-sign * @summary jpackage with --type app-image --app-image "appImage" --mac-sign
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @library /test/lib * @library /test/lib
* @library base * @library base
* @build SigningBase * @build SigningBase
@ -54,7 +54,6 @@ import jdk.jpackage.test.AdditionalLauncher;
* @build jtreg.SkippedException * @build jtreg.SkippedException
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build SigningAppImageTwoStepsTest * @build SigningAppImageTwoStepsTest
* @modules jdk.jpackage/jdk.jpackage.internal
* @requires (os.family == "mac") * @requires (os.family == "mac")
* @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=SigningAppImageTwoStepsTest * --jpt-run=SigningAppImageTwoStepsTest

View File

@ -31,14 +31,13 @@ import jdk.jpackage.test.TKit;
/* /*
* @test * @test
* @summary Test jpackage signing options errors * @summary Test jpackage signing options errors
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @library /test/lib * @library /test/lib
* @library base * @library base
* @build SigningBase * @build SigningBase
* @build SigningCheck * @build SigningCheck
* @build jtreg.SkippedException * @build jtreg.SkippedException
* @build SigningOptionsTest * @build SigningOptionsTest
* @modules jdk.jpackage/jdk.jpackage.internal
* @requires (os.family == "mac") * @requires (os.family == "mac")
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=SigningOptionsTest * --jpt-run=SigningOptionsTest
@ -48,14 +47,13 @@ import jdk.jpackage.test.TKit;
/* /*
* @test * @test
* @summary Test jpackage signing options errors * @summary Test jpackage signing options errors
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @library /test/lib * @library /test/lib
* @library base * @library base
* @build SigningBase * @build SigningBase
* @build SigningCheck * @build SigningCheck
* @build jtreg.SkippedException * @build jtreg.SkippedException
* @build SigningOptionsTest * @build SigningOptionsTest
* @modules jdk.jpackage/jdk.jpackage.internal
* @requires (os.family == "mac") * @requires (os.family == "mac")
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=SigningOptionsTest * --jpt-run=SigningOptionsTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -50,7 +50,7 @@ import jdk.jpackage.test.Annotations.Parameter;
/* /*
* @test * @test
* @summary jpackage with --type pkg,dmg --app-image * @summary jpackage with --type pkg,dmg --app-image
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @library /test/lib * @library /test/lib
* @library base * @library base
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
@ -59,7 +59,6 @@ import jdk.jpackage.test.Annotations.Parameter;
* @build jtreg.SkippedException * @build jtreg.SkippedException
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build SigningPackageFromTwoStepAppImageTest * @build SigningPackageFromTwoStepAppImageTest
* @modules jdk.jpackage/jdk.jpackage.internal
* @requires (os.family == "mac") * @requires (os.family == "mac")
* @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=SigningPackageFromTwoStepAppImageTest * --jpt-run=SigningPackageFromTwoStepAppImageTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -48,7 +48,7 @@ import jdk.jpackage.test.Annotations.Parameter;
/* /*
* @test * @test
* @summary jpackage with --type pkg,dmg --mac-sign * @summary jpackage with --type pkg,dmg --mac-sign
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @library /test/lib * @library /test/lib
* @library base * @library base
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
@ -57,7 +57,6 @@ import jdk.jpackage.test.Annotations.Parameter;
* @build jtreg.SkippedException * @build jtreg.SkippedException
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build SigningPackageTest * @build SigningPackageTest
* @modules jdk.jpackage/jdk.jpackage.internal
* @requires (os.family == "mac") * @requires (os.family == "mac")
* @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=SigningPackageTest * --jpt-run=SigningPackageTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -51,7 +51,7 @@ import jdk.jpackage.test.Annotations.Parameter;
/* /*
* @test * @test
* @summary jpackage with --type pkg,dmg --app-image * @summary jpackage with --type pkg,dmg --app-image
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @library /test/lib * @library /test/lib
* @library base * @library base
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
@ -60,7 +60,6 @@ import jdk.jpackage.test.Annotations.Parameter;
* @build jtreg.SkippedException * @build jtreg.SkippedException
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build SigningPackageTwoStepTest * @build SigningPackageTwoStepTest
* @modules jdk.jpackage/jdk.jpackage.internal
* @requires (os.family == "mac") * @requires (os.family == "mac")
* @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=SigningPackageTwoStepTest * --jpt-run=SigningPackageTwoStepTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2021, 2022, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -44,12 +44,10 @@ import jdk.jpackage.test.Annotations.Test;
* @test * @test
* @summary jpackage with --add-launcher * @summary jpackage with --add-launcher
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile AddLShortcutTest.java * @compile AddLShortcutTest.java
* @run main/othervm/timeout=540 -Xmx512m * @run main/othervm/timeout=540 -Xmx512m
* --add-opens jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED
* jdk.jpackage.test.Main * jdk.jpackage.test.Main
* --jpt-run=AddLShortcutTest * --jpt-run=AddLShortcutTest
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -48,12 +48,10 @@ import jdk.jpackage.test.CfgFile;
* @summary jpackage with --add-launcher * @summary jpackage with --add-launcher
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @requires (jpackage.test.SQETest != null) * @requires (jpackage.test.SQETest != null)
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile AddLauncherTest.java * @compile AddLauncherTest.java
* @run main/othervm/timeout=360 -Xmx512m * @run main/othervm/timeout=360 -Xmx512m
* --add-opens jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED
* jdk.jpackage.test.Main * jdk.jpackage.test.Main
* --jpt-run=AddLauncherTest.test * --jpt-run=AddLauncherTest.test
*/ */
@ -63,12 +61,10 @@ import jdk.jpackage.test.CfgFile;
* @summary jpackage with --add-launcher * @summary jpackage with --add-launcher
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @requires (jpackage.test.SQETest == null) * @requires (jpackage.test.SQETest == null)
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile AddLauncherTest.java * @compile AddLauncherTest.java
* @run main/othervm/timeout=540 -Xmx512m * @run main/othervm/timeout=540 -Xmx512m
* --add-opens jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED
* jdk.jpackage.test.Main * jdk.jpackage.test.Main
* --jpt-run=AddLauncherTest * --jpt-run=AddLauncherTest
*/ */

View File

@ -45,13 +45,10 @@ import jdk.jpackage.test.JPackageCommand;
/* /*
* @test * @test
* @summary jpackage with --app-content option * @summary jpackage with --app-content option
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @library /test/lib
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build AppContentTest * @build AppContentTest
* @modules jdk.jpackage/jdk.jpackage.internal
* @modules java.base/jdk.internal.util
* @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=AppContentTest * --jpt-run=AppContentTest
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -43,10 +43,9 @@ import jdk.jpackage.test.Annotations.Test;
* @test * @test
* @summary jpackage with --app-image * @summary jpackage with --app-image
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @requires (jpackage.test.SQETest == null) * @requires (jpackage.test.SQETest == null)
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile AppImagePackageTest.java * @compile AppImagePackageTest.java
* @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=AppImagePackageTest * --jpt-run=AppImagePackageTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2021, 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -39,12 +39,9 @@ import jdk.jpackage.test.TKit;
/* /*
* @test * @test
* @summary Tests values of environment variables altered by jpackage launcher * @summary Tests values of environment variables altered by jpackage launcher
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @library /test/lib
* @build AppLauncherEnvTest
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build AppLauncherEnvTest * @build AppLauncherEnvTest
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm -Xmx512m jdk.jpackage.test.Main * @run main/othervm -Xmx512m jdk.jpackage.test.Main
* --jpt-run=AppLauncherEnvTest * --jpt-run=AppLauncherEnvTest
*/ */

View File

@ -46,9 +46,8 @@ import jdk.jpackage.test.Annotations.Parameter;
/* /*
* @test * @test
* @summary jpackage create image with --arguments test * @summary jpackage create image with --arguments test
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile ArgumentsTest.java * @compile ArgumentsTest.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=ArgumentsTest * --jpt-run=ArgumentsTest

View File

@ -37,12 +37,10 @@ import jdk.jpackage.test.TKit;
/* /*
* @test * @test
* @summary jpackage for package with input containing empty folders * @summary jpackage for package with input containing empty folders
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @library /test/lib
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build EmptyFolderTest * @build EmptyFolderTest
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=EmptyFolderTest.testPackage * --jpt-run=EmptyFolderTest.testPackage
*/ */
@ -50,11 +48,9 @@ import jdk.jpackage.test.TKit;
/* /*
* @test * @test
* @summary jpackage for app image with input containing empty folders * @summary jpackage for app image with input containing empty folders
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @library /test/lib
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build EmptyFolderTest * @build EmptyFolderTest
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm -Xmx512m jdk.jpackage.test.Main * @run main/othervm -Xmx512m jdk.jpackage.test.Main
* --jpt-run=EmptyFolderTest.testAppImage * --jpt-run=EmptyFolderTest.testAppImage
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -57,11 +57,10 @@ import jdk.jpackage.test.Annotations.Parameter;
/* /*
* @test * @test
* @summary jpackage with --file-associations * @summary jpackage with --file-associations
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @requires jpackage.test.SQETest == null * @requires jpackage.test.SQETest == null
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile FileAssociationsTest.java * @compile FileAssociationsTest.java
* @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=FileAssociationsTest * --jpt-run=FileAssociationsTest
@ -70,11 +69,10 @@ import jdk.jpackage.test.Annotations.Parameter;
/* /*
* @test * @test
* @summary jpackage with --file-associations * @summary jpackage with --file-associations
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @requires jpackage.test.SQETest != null * @requires jpackage.test.SQETest != null
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile FileAssociationsTest.java * @compile FileAssociationsTest.java
* @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=FileAssociationsTest.test * --jpt-run=FileAssociationsTest.test

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -49,12 +49,10 @@ import jdk.jpackage.test.Annotations.Test;
/* /*
* @test * @test
* @summary jpackage create image and package with custom icons for the main and additional launcher * @summary jpackage create image and package with custom icons for the main and additional launcher
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile IconTest.java * @compile IconTest.java
* @run main/othervm/timeout=540 -Xmx512m * @run main/othervm/timeout=540 -Xmx512m
* --add-opens jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED
* jdk.jpackage.test.Main * jdk.jpackage.test.Main
* --jpt-run=IconTest * --jpt-run=IconTest
*/ */

View File

@ -47,9 +47,8 @@ import jdk.jpackage.test.TKit;
/* /*
* @test * @test
* @summary Test jpackage command line with overlapping input and output paths * @summary Test jpackage command line with overlapping input and output paths
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile InOutPathTest.java * @compile InOutPathTest.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=InOutPathTest * --jpt-run=InOutPathTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -54,11 +54,10 @@ import jdk.jpackage.test.Annotations.Parameter;
/* /*
* @test * @test
* @summary jpackage with --install-dir * @summary jpackage with --install-dir
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @compile InstallDirTest.java * @compile InstallDirTest.java
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=InstallDirTest.testCommon * --jpt-run=InstallDirTest.testCommon
*/ */
@ -66,11 +65,10 @@ import jdk.jpackage.test.Annotations.Parameter;
/* /*
* @test * @test
* @summary jpackage with --install-dir * @summary jpackage with --install-dir
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @compile InstallDirTest.java * @compile InstallDirTest.java
* @modules jdk.jpackage/jdk.jpackage.internal
* @requires (os.family == "linux") * @requires (os.family == "linux")
* @requires (jpackage.test.SQETest == null) * @requires (jpackage.test.SQETest == null)
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -63,11 +63,10 @@ import jdk.jpackage.test.TKit;
/* /*
* @test * @test
* @summary jpackage with --license-file * @summary jpackage with --license-file
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @compile LicenseTest.java * @compile LicenseTest.java
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=LicenseTest.testCommon * --jpt-run=LicenseTest.testCommon
*/ */
@ -75,13 +74,12 @@ import jdk.jpackage.test.TKit;
/* /*
* @test * @test
* @summary jpackage with --license-file * @summary jpackage with --license-file
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @compile LicenseTest.java * @compile LicenseTest.java
* @requires (os.family == "linux") * @requires (os.family == "linux")
* @requires (jpackage.test.SQETest == null) * @requires (jpackage.test.SQETest == null)
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm/timeout=1440 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=1440 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=LicenseTest.testCustomDebianCopyright * --jpt-run=LicenseTest.testCustomDebianCopyright
* --jpt-run=LicenseTest.testCustomDebianCopyrightSubst * --jpt-run=LicenseTest.testCustomDebianCopyrightSubst

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -43,14 +43,11 @@ import jdk.jpackage.test.JPackageCommand;
/* /*
* @test * @test
* @summary Multiple launchers in two phases * @summary Multiple launchers in two phases
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @library /test/lib
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile MultiLauncherTwoPhaseTest.java * @compile MultiLauncherTwoPhaseTest.java
* @run main/othervm/timeout=360 -Xmx512m * @run main/othervm/timeout=360 -Xmx512m
* --add-opens jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED
* jdk.jpackage.test.Main * jdk.jpackage.test.Main
* --jpt-run=MultiLauncherTwoPhaseTest * --jpt-run=MultiLauncherTwoPhaseTest
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -41,12 +41,10 @@ import jdk.jpackage.test.JPackageCommand;
/* /*
* @test * @test
* @summary Multiple names in two phases * @summary Multiple names in two phases
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @library /test/lib
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @requires (jpackage.test.SQETest == null) * @requires (jpackage.test.SQETest == null)
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile MultiNameTwoPhaseTest.java * @compile MultiNameTwoPhaseTest.java
* @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=MultiNameTwoPhaseTest * --jpt-run=MultiNameTwoPhaseTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -43,12 +43,11 @@ import jdk.jpackage.test.TKit;
/* /*
* @test * @test
* @summary pre-user configuration of app launchers * @summary pre-user configuration of app launchers
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @requires jpackage.test.SQETest == null * @requires jpackage.test.SQETest == null
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @compile PerUserCfgTest.java * @compile PerUserCfgTest.java
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=PerUserCfgTest * --jpt-run=PerUserCfgTest
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2023, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -47,11 +47,10 @@ import jdk.jpackage.test.Executor;
/* /*
* @test * @test
* @summary jpackage with --runtime-image * @summary jpackage with --runtime-image
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @requires (os.family != "windows") * @requires (os.family != "windows")
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile RuntimeImageSymbolicLinksTest.java * @compile RuntimeImageSymbolicLinksTest.java
* @run main/othervm/timeout=1400 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=1400 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=RuntimeImageSymbolicLinksTest * --jpt-run=RuntimeImageSymbolicLinksTest

View File

@ -32,10 +32,9 @@ import jdk.jpackage.test.Executor;
/* /*
* @test * @test
* @summary jpackage with --runtime-image * @summary jpackage with --runtime-image
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile RuntimeImageTest.java * @compile RuntimeImageTest.java
* @run main/othervm/timeout=1400 jdk.jpackage.test.Main * @run main/othervm/timeout=1400 jdk.jpackage.test.Main
* --jpt-run=RuntimeImageTest * --jpt-run=RuntimeImageTest

View File

@ -55,11 +55,10 @@ import static jdk.jpackage.test.TKit.assertFalse;
/* /*
* @test * @test
* @summary jpackage with --runtime-image * @summary jpackage with --runtime-image
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @requires (jpackage.test.SQETest == null) * @requires (jpackage.test.SQETest == null)
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile RuntimePackageTest.java * @compile RuntimePackageTest.java
* @run main/othervm/timeout=1400 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=1400 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=RuntimePackageTest * --jpt-run=RuntimePackageTest
@ -68,11 +67,10 @@ import static jdk.jpackage.test.TKit.assertFalse;
/* /*
* @test * @test
* @summary jpackage with --runtime-image * @summary jpackage with --runtime-image
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @requires (jpackage.test.SQETest != null) * @requires (jpackage.test.SQETest != null)
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile RuntimePackageTest.java * @compile RuntimePackageTest.java
* @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=RuntimePackageTest.test * --jpt-run=RuntimePackageTest.test

View File

@ -44,13 +44,13 @@ import jdk.jpackage.test.TKit;
/* /*
* @test * @test
* @summary Launcher as service packaging test * @summary Launcher as service packaging test
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @library /test/lib
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal * @build jtreg.SkippedException
* @key jpackagePlatformPackage
* @compile ServiceTest.java * @compile ServiceTest.java
* @run main/othervm/timeout=360 -Xmx512m * @run main/othervm/timeout=360 -Xmx512m
* --add-opens jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED
* jdk.jpackage.test.Main * jdk.jpackage.test.Main
* --jpt-run=ServiceTest * --jpt-run=ServiceTest
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -40,10 +40,9 @@ import jdk.jpackage.test.Annotations.Test;
/* /*
* @test * @test
* @summary Simple jpackage command run * @summary Simple jpackage command run
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile SimplePackageTest.java * @compile SimplePackageTest.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=SimplePackageTest * --jpt-run=SimplePackageTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -42,9 +42,8 @@ import org.w3c.dom.Document;
/* /*
* @test * @test
* @summary jpackage application version testing * @summary jpackage application version testing
* @library ../../../../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile AppVersionTest.java * @compile AppVersionTest.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=jdk.jpackage.tests.AppVersionTest * --jpt-run=jdk.jpackage.tests.AppVersionTest

View File

@ -50,9 +50,8 @@ import static jdk.jpackage.test.WindowsHelper.getTempDirectory;
/* /*
* @test * @test
* @summary jpackage basic testing * @summary jpackage basic testing
* @library ../../../../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile BasicTest.java * @compile BasicTest.java
* @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=jdk.jpackage.tests.BasicTest * --jpt-run=jdk.jpackage.tests.BasicTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -42,9 +42,8 @@ import jdk.jpackage.test.TKit;
/* /*
* @test * @test
* @summary test '--runtime-image' option of jpackage * @summary test '--runtime-image' option of jpackage
* @library ../../../../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile CookedRuntimeTest.java * @compile CookedRuntimeTest.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=jdk.jpackage.tests.CookedRuntimeTest * --jpt-run=jdk.jpackage.tests.CookedRuntimeTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -33,9 +33,8 @@ import jdk.jpackage.test.Annotations.Test;
/* /*
* @test * @test
* @summary jpackage create image with --java-options test * @summary jpackage create image with --java-options test
* @library ../../../../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile DotInNameTest.java * @compile DotInNameTest.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=jdk.jpackage.tests.DotInNameTest * --jpt-run=jdk.jpackage.tests.DotInNameTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -33,9 +33,8 @@ import jdk.jpackage.test.TKit;
/* /*
* @test * @test
* @summary Test jpackage output for erroneous input * @summary Test jpackage output for erroneous input
* @library ../../../../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile ErrorTest.java * @compile ErrorTest.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=jdk.jpackage.tests.ErrorTest * --jpt-run=jdk.jpackage.tests.ErrorTest
@ -45,9 +44,8 @@ import jdk.jpackage.test.TKit;
/* /*
* @test * @test
* @summary Test jpackage output for erroneous input * @summary Test jpackage output for erroneous input
* @library ../../../../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile ErrorTest.java * @compile ErrorTest.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=jdk.jpackage.tests.ErrorTest * --jpt-run=jdk.jpackage.tests.ErrorTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -33,9 +33,8 @@ import jdk.jpackage.test.TKit;
/* /*
* @test * @test
* @summary jpackage application version testing * @summary jpackage application version testing
* @library ../../../../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile JLinkOptionsTest.java * @compile JLinkOptionsTest.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=jdk.jpackage.tests.JLinkOptionsTest * --jpt-run=jdk.jpackage.tests.JLinkOptionsTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -35,9 +35,8 @@ import jdk.jpackage.test.TKit;
/* /*
* @test * @test
* @summary jpackage create image with --java-options test * @summary jpackage create image with --java-options test
* @library ../../../../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile JavaOptionsEqualsTest.java * @compile JavaOptionsEqualsTest.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=jdk.jpackage.tests.JavaOptionsEqualsTest * --jpt-run=jdk.jpackage.tests.JavaOptionsEqualsTest
@ -47,9 +46,8 @@ import jdk.jpackage.test.TKit;
/* /*
* @test * @test
* @summary jpackage create image with --java-options test * @summary jpackage create image with --java-options test
* @library ../../../../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile JavaOptionsEqualsTest.java * @compile JavaOptionsEqualsTest.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=jdk.jpackage.tests.JavaOptionsEqualsTest * --jpt-run=jdk.jpackage.tests.JavaOptionsEqualsTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -35,9 +35,8 @@ import jdk.jpackage.test.TKit;
/* /*
* @test * @test
* @summary jpackage create image with --java-options test * @summary jpackage create image with --java-options test
* @library ../../../../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile JavaOptionsTest.java * @compile JavaOptionsTest.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=jdk.jpackage.tests.JavaOptionsTest * --jpt-run=jdk.jpackage.tests.JavaOptionsTest

View File

@ -52,9 +52,8 @@ import static jdk.jpackage.tests.MainClassTest.Script.MainClassType.*;
/* /*
* @test * @test
* @summary test different settings of main class name for jpackage * @summary test different settings of main class name for jpackage
* @library ../../../../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile MainClassTest.java * @compile MainClassTest.java
* @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=jdk.jpackage.tests.MainClassTest * --jpt-run=jdk.jpackage.tests.MainClassTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -44,9 +44,8 @@ import jdk.jpackage.test.Annotations.Test;
/* /*
* @test * @test
* @summary jpackage with --module-path testing * @summary jpackage with --module-path testing
* @library ../../../../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile ModulePathTest.java * @compile ModulePathTest.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=jdk.jpackage.tests.ModulePathTest * --jpt-run=jdk.jpackage.tests.ModulePathTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -36,9 +36,8 @@ import jdk.jpackage.test.TKit;
/* /*
* @test * @test
* @summary jpackage with --module-path testing * @summary jpackage with --module-path testing
* @library ../../../../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile ModulePathTest2.java * @compile ModulePathTest2.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=jdk.jpackage.tests.ModulePathTest2 * --jpt-run=jdk.jpackage.tests.ModulePathTest2

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -49,9 +49,8 @@ import org.w3c.dom.Document;
/* /*
* @test * @test
* @summary jpackage for app's module linked in external runtime * @summary jpackage for app's module linked in external runtime
* @library ../../../../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile ModulePathTest3.java * @compile ModulePathTest3.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=jdk.jpackage.tests.ModulePathTest3 * --jpt-run=jdk.jpackage.tests.ModulePathTest3

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -33,9 +33,8 @@ import jdk.jpackage.test.JPackageCommand;
/* /*
* @test * @test
* @summary jpackage application packed in multiple jars * @summary jpackage application packed in multiple jars
* @library ../../../../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile MultipleJarAppTest.java * @compile MultipleJarAppTest.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=jdk.jpackage.tests.MultipleJarAppTest * --jpt-run=jdk.jpackage.tests.MultipleJarAppTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -43,9 +43,8 @@ import jdk.jpackage.test.HelloApp;
/* /*
* @test * @test
* @summary test '--runtime-image' option of jpackage * @summary test '--runtime-image' option of jpackage
* @library ../../../../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile NoMPathRuntimeTest.java * @compile NoMPathRuntimeTest.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=jdk.jpackage.tests.NoMPathRuntimeTest * --jpt-run=jdk.jpackage.tests.NoMPathRuntimeTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -33,9 +33,8 @@ import jdk.jpackage.test.TKit;
/* /*
* @test * @test
* @summary jpackage application version testing * @summary jpackage application version testing
* @library ../../../../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile NonExistentTest.java * @compile NonExistentTest.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=jdk.jpackage.tests.NonExistentTest * --jpt-run=jdk.jpackage.tests.NonExistentTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,9 +37,8 @@ import jdk.jpackage.test.TKit;
/* /*
* @test * @test
* @summary Test jpackage output for erroneous input with --type "app-image" and --app-image * @summary Test jpackage output for erroneous input with --type "app-image" and --app-image
* @library ../../../../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile PredefinedAppImageErrorTest.java * @compile PredefinedAppImageErrorTest.java
* *
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -33,9 +33,8 @@ import jdk.jpackage.test.JPackageCommand;
/* /*
* @test * @test
* @summary test how app launcher handles unicode command line arguments * @summary test how app launcher handles unicode command line arguments
* @library ../../../../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile UnicodeArgsTest.java * @compile UnicodeArgsTest.java
* @requires (os.family == "windows") * @requires (os.family == "windows")
* @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -54,12 +54,11 @@ import jdk.jpackage.test.Annotations.Test;
/* /*
* @test * @test
* @summary Test --vendor jpackage command option * @summary Test --vendor jpackage command option
* @library ../../../../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @requires (os.family == "windows") * @requires (os.family == "windows")
* @requires jpackage.test.SQETest != null * @requires jpackage.test.SQETest != null
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile VendorTest.java * @compile VendorTest.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=jdk.jpackage.tests.VendorTest * --jpt-run=jdk.jpackage.tests.VendorTest
@ -68,12 +67,11 @@ import jdk.jpackage.test.Annotations.Test;
/* /*
* @test * @test
* @summary Test --vendor jpackage command option * @summary Test --vendor jpackage command option
* @library ../../../../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @requires (os.family != "mac") * @requires (os.family != "mac")
* @requires jpackage.test.SQETest == null * @requires jpackage.test.SQETest == null
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile VendorTest.java * @compile VendorTest.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=jdk.jpackage.tests.VendorTest * --jpt-run=jdk.jpackage.tests.VendorTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -39,11 +39,10 @@ import jdk.jpackage.test.TKit;
/* /*
* @test * @test
* @summary Test case for JDK-8248254 * @summary Test case for JDK-8248254
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build Win8282351Test * @build Win8282351Test
* @requires (os.family == "windows") * @requires (os.family == "windows")
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=Win8282351Test * --jpt-run=Win8282351Test
*/ */

View File

@ -38,11 +38,10 @@ import static jdk.jpackage.test.WindowsHelper.killAppLauncherProcess;
/* /*
* @test * @test
* @summary Test case for JDK-8301247 * @summary Test case for JDK-8301247
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build Win8301247Test * @build Win8301247Test
* @requires (os.family == "windows") * @requires (os.family == "windows")
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=Win8301247Test * --jpt-run=Win8301247Test
*/ */

View File

@ -25,12 +25,10 @@
* @bug 8325203 * @bug 8325203
* @summary Test that Jpackage windows executable application kills the launched 3rd party application * @summary Test that Jpackage windows executable application kills the launched 3rd party application
* when System.exit(0) is invoked along with terminating java program. * when System.exit(0) is invoked along with terminating java program.
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @library /test/lib
* @requires os.family == "windows" * @requires os.family == "windows"
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build WinChildProcessTest * @build WinChildProcessTest
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm -Xmx512m jdk.jpackage.test.Main * @run main/othervm -Xmx512m jdk.jpackage.test.Main
* --jpt-run=WinChildProcessTest * --jpt-run=WinChildProcessTest
* *

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -34,10 +34,9 @@ import jdk.jpackage.test.Annotations.Parameter;
/* /*
* @test * @test
* @summary jpackage with --win-console * @summary jpackage with --win-console
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @requires (os.family == "windows") * @requires (os.family == "windows")
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile WinConsoleTest.java * @compile WinConsoleTest.java
* *
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -36,12 +36,11 @@ import jdk.jpackage.test.PackageType;
/* /*
* @test * @test
* @summary jpackage with --win-dir-chooser * @summary jpackage with --win-dir-chooser
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build WinDirChooserTest * @build WinDirChooserTest
* @requires (os.family == "windows") * @requires (os.family == "windows")
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=WinDirChooserTest * --jpt-run=WinDirChooserTest
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2021, 2022, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -38,12 +38,11 @@ import jdk.jpackage.test.TKit;
/* /*
* @test * @test
* @summary jpackage with --icon parameter for exe installer * @summary jpackage with --icon parameter for exe installer
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build WinInstallerIconTest * @build WinInstallerIconTest
* @requires (os.family == "windows") * @requires (os.family == "windows")
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=WinInstallerIconTest * --jpt-run=WinInstallerIconTest
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -39,12 +39,11 @@ import jdk.jpackage.test.TKit;
/* /*
* @test * @test
* @summary jpackage with --win-dir-chooser, --win-shortcut-prompt and --license parameters * @summary jpackage with --win-dir-chooser, --win-shortcut-prompt and --license parameters
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build WinInstallerUiTest * @build WinInstallerUiTest
* @requires (os.family == "windows") * @requires (os.family == "windows")
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=WinInstallerUiTest * --jpt-run=WinInstallerUiTest
*/ */

View File

@ -42,12 +42,11 @@ import static jdk.jpackage.test.WindowsHelper.getTempDirectory;
/* /*
* @test * @test
* @summary Custom l10n of msi installers in jpackage * @summary Custom l10n of msi installers in jpackage
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @requires (jpackage.test.SQETest == null) * @requires (jpackage.test.SQETest == null)
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @requires (os.family == "windows") * @requires (os.family == "windows")
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile WinL10nTest.java * @compile WinL10nTest.java
* @run main/othervm/timeout=1440 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=1440 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=WinL10nTest * --jpt-run=WinL10nTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -70,12 +70,11 @@ import org.w3c.dom.NodeList;
/* /*
* @test * @test
* @summary jpackage with long version number * @summary jpackage with long version number
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @requires (jpackage.test.SQETest != null) * @requires (jpackage.test.SQETest != null)
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @requires (os.family == "windows") * @requires (os.family == "windows")
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile WinLongVersionTest.java * @compile WinLongVersionTest.java
* @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=WinLongVersionTest.test * --jpt-run=WinLongVersionTest.test
@ -84,12 +83,11 @@ import org.w3c.dom.NodeList;
/* /*
* @test * @test
* @summary jpackage with long version number * @summary jpackage with long version number
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @requires (jpackage.test.SQETest == null) * @requires (jpackage.test.SQETest == null)
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @requires (os.family == "windows") * @requires (os.family == "windows")
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile WinLongVersionTest.java * @compile WinLongVersionTest.java
* @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=WinLongVersionTest * --jpt-run=WinLongVersionTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -39,11 +39,10 @@ import jdk.jpackage.test.Annotations.Test;
/* /*
* @test * @test
* @summary jpackage with --win-menu and --win-menu-group * @summary jpackage with --win-menu and --win-menu-group
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @requires (os.family == "windows") * @requires (os.family == "windows")
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile WinMenuGroupTest.java * @compile WinMenuGroupTest.java
* @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=WinMenuGroupTest * --jpt-run=WinMenuGroupTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -36,11 +36,10 @@ import jdk.jpackage.test.Annotations.Test;
/* /*
* @test * @test
* @summary jpackage with --win-menu * @summary jpackage with --win-menu
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @requires (os.family == "windows") * @requires (os.family == "windows")
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile WinMenuTest.java * @compile WinMenuTest.java
* @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=WinMenuTest * --jpt-run=WinMenuTest

View File

@ -36,12 +36,11 @@ import static jdk.jpackage.test.WindowsHelper.killAppLauncherProcess;
* @bug 8340311 * @bug 8340311
* @summary Test that jpackage windows app launcher doesn't create child process * @summary Test that jpackage windows app launcher doesn't create child process
* if `win.norestart` property is set in the corresponding .cfg file * if `win.norestart` property is set in the corresponding .cfg file
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @library /test/lib * @library /test/lib
* @requires os.family == "windows" * @requires os.family == "windows"
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build WinNoRestartTest * @build WinNoRestartTest
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm -Xmx512m jdk.jpackage.test.Main * @run main/othervm -Xmx512m jdk.jpackage.test.Main
* --jpt-run=WinNoRestartTest * --jpt-run=WinNoRestartTest
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,11 +37,10 @@ import jdk.jpackage.test.Annotations.Test;
/* /*
* @test * @test
* @summary jpackage with --win-per-user-install, --win-menu, --win-menu-group * @summary jpackage with --win-per-user-install, --win-menu, --win-menu-group
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @requires (os.family == "windows") * @requires (os.family == "windows")
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile WinPerUserInstallTest.java * @compile WinPerUserInstallTest.java
* @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=WinPerUserInstallTest * --jpt-run=WinPerUserInstallTest

View File

@ -32,12 +32,11 @@ import jdk.jpackage.test.Annotations.Test;
/* /*
* @test * @test
* @summary jpackage test app can run after changing executable's extension * @summary jpackage test app can run after changing executable's extension
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build WinRenameTest * @build WinRenameTest
* @requires (os.family == "windows") * @requires (os.family == "windows")
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=WinRenameTest * --jpt-run=WinRenameTest
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -40,10 +40,9 @@ import java.util.List;
/* /*
* @test * @test
* @summary jpackage with --resource-dir * @summary jpackage with --resource-dir
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @requires (os.family == "windows") * @requires (os.family == "windows")
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile WinResourceTest.java * @compile WinResourceTest.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=WinResourceTest * --jpt-run=WinResourceTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,10 +37,9 @@ import jdk.jpackage.test.JPackageCommand;
/* /*
* @test usage of scripts from resource dir * @test usage of scripts from resource dir
* @summary jpackage with * @summary jpackage with
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @requires (os.family == "windows") * @requires (os.family == "windows")
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile WinScriptTest.java * @compile WinScriptTest.java
* @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=WinScriptTest * --jpt-run=WinScriptTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2021, 2022, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,12 +37,11 @@ import jdk.jpackage.test.PackageType;
/* /*
* @test * @test
* @summary jpackage with --win-shortcut-prompt, --win-menu and --win-shortcut parameters * @summary jpackage with --win-shortcut-prompt, --win-menu and --win-shortcut parameters
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build WinShortcutPromptTest * @build WinShortcutPromptTest
* @requires (os.family == "windows") * @requires (os.family == "windows")
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=WinShortcutPromptTest * --jpt-run=WinShortcutPromptTest
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,11 +37,10 @@ import jdk.jpackage.test.Annotations.Test;
/* /*
* @test * @test
* @summary jpackage with --win-shortcut * @summary jpackage with --win-shortcut
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @requires (os.family == "windows") * @requires (os.family == "windows")
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile WinShortcutTest.java * @compile WinShortcutTest.java
* @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=WinShortcutTest * --jpt-run=WinShortcutTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, 2022, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -46,12 +46,11 @@ import jdk.jpackage.test.TKit;
/* /*
* @test * @test
* @summary jpackage with --win-upgrade-uuid and --app-version * @summary jpackage with --win-upgrade-uuid and --app-version
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @requires (jpackage.test.SQETest != null) * @requires (jpackage.test.SQETest != null)
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @requires (os.family == "windows") * @requires (os.family == "windows")
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile WinUpgradeUUIDTest.java * @compile WinUpgradeUUIDTest.java
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=WinUpgradeUUIDTest.test * --jpt-run=WinUpgradeUUIDTest.test
@ -60,12 +59,11 @@ import jdk.jpackage.test.TKit;
/* /*
* @test * @test
* @summary jpackage with --win-upgrade-uuid and --app-version * @summary jpackage with --win-upgrade-uuid and --app-version
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @requires (jpackage.test.SQETest == null) * @requires (jpackage.test.SQETest == null)
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @requires (os.family == "windows") * @requires (os.family == "windows")
* @modules jdk.jpackage/jdk.jpackage.internal
* @compile WinUpgradeUUIDTest.java * @compile WinUpgradeUUIDTest.java
* @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=WinUpgradeUUIDTest * --jpt-run=WinUpgradeUUIDTest

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -40,12 +40,11 @@ import jdk.jpackage.test.PackageType;
* @test * @test
* @summary jpackage with --about-url, --win-update-url and --win-help-url * @summary jpackage with --about-url, --win-update-url and --win-help-url
* parameters * parameters
* @library ../helpers * @library /test/jdk/tools/jpackage/helpers
* @key jpackagePlatformPackage * @key jpackagePlatformPackage
* @build jdk.jpackage.test.* * @build jdk.jpackage.test.*
* @build WinUrlTest * @build WinUrlTest
* @requires (os.family == "windows") * @requires (os.family == "windows")
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main * @run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=WinUrlTest * --jpt-run=WinUrlTest
*/ */