Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.

Commit 1933fe3

Browse files
author
Andy Herrick
committed
8246010: AdditionalLaunchersTest is not enabled, and fails
Reviewed-by: asemenyuk, almatvee
1 parent 5ce3d0d commit 1933fe3

File tree

4 files changed

+14
-11
lines changed

4 files changed

+14
-11
lines changed

src/jdk.incubator.jpackage/windows/classes/jdk/incubator/jpackage/internal/resources/WinResources.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -47,6 +47,7 @@ error.msi-product-version-build-out-of-range=Build part of version must be in th
4747
error.msi-product-version-minor-out-of-range=Minor version must be in the range [0, 255]
4848
error.version-swap=Failed to update version information for {0}
4949
error.invalid-envvar=Invalid value of {0} environment variable
50+
error.lock-resource=Failed to lock: {0}
5051

5152
message.result-dir=Result application bundle: {0}.
5253
message.icon-not-ico=The specified icon "{0}" is not an ICO file and will not be used. The default icon will be used in it's place.

src/jdk.incubator.jpackage/windows/classes/jdk/incubator/jpackage/internal/resources/WinResources_ja.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -47,6 +47,7 @@ error.msi-product-version-build-out-of-range=\u30D0\u30FC\u30B8\u30E7\u30F3\u306
4747
error.msi-product-version-minor-out-of-range=\u30DE\u30A4\u30CA\u30FC\u30FB\u30D0\u30FC\u30B8\u30E7\u30F3\u306F\u7BC4\u56F2[0, 255]\u5185\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059
4848
error.version-swap={0}\u306E\u30D0\u30FC\u30B8\u30E7\u30F3\u60C5\u5831\u306E\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F
4949
error.invalid-envvar={0}\u74B0\u5883\u5909\u6570\u306E\u5024\u304C\u7121\u52B9\u3067\u3059
50+
+error.lock-resource=Failed to lock: {0}
5051

5152
message.result-dir=\u7D50\u679C\u306E\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u30FB\u30D0\u30F3\u30C9\u30EB: {0}
5253
message.icon-not-ico=\u6307\u5B9A\u3057\u305F\u30A2\u30A4\u30B3\u30F3"{0}"\u306FICO\u30D5\u30A1\u30A4\u30EB\u3067\u306F\u306A\u304F\u3001\u4F7F\u7528\u3055\u308C\u307E\u305B\u3093\u3002\u30C7\u30D5\u30A9\u30EB\u30C8\u30FB\u30A2\u30A4\u30B3\u30F3\u304C\u305D\u306E\u4F4D\u7F6E\u306B\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002

src/jdk.incubator.jpackage/windows/classes/jdk/incubator/jpackage/internal/resources/WinResources_zh_CN.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -47,6 +47,7 @@ error.msi-product-version-build-out-of-range=\u7248\u672C\u7684\u5DE5\u4F5C\u724
4747
error.msi-product-version-minor-out-of-range=\u6B21\u7248\u672C\u5FC5\u987B\u4F4D\u4E8E [0, 255] \u8303\u56F4\u4E2D
4848
error.version-swap=\u65E0\u6CD5\u66F4\u65B0 {0} \u7684\u7248\u672C\u4FE1\u606F
4949
error.invalid-envvar={0} \u73AF\u5883\u53D8\u91CF\u7684\u503C\u65E0\u6548
50+
+error.lock-resource=Failed to lock: {0}
5051

5152
message.result-dir=\u751F\u6210\u7684\u5E94\u7528\u7A0B\u5E8F\u5305: {0}\u3002
5253
message.icon-not-ico=\u6307\u5B9A\u7684\u56FE\u6807 "{0}" \u4E0D\u662F ICO \u6587\u4EF6, \u4E0D\u4F1A\u4F7F\u7528\u3002\u5C06\u4F7F\u7528\u9ED8\u8BA4\u56FE\u6807\u4EE3\u66FF\u3002

test/jdk/tools/jpackage/share/AdditionalLaunchersTest.java renamed to test/jdk/tools/jpackage/share/AddLauncherTest.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -32,7 +32,7 @@
3232

3333
/**
3434
* Test --add-launcher parameter. Output of the test should be
35-
* additionallauncherstest*.* installer. The output installer should provide the
35+
* AddLauncherTest*.* installer. The output installer should provide the
3636
* same functionality as the default installer (see description of the default
3737
* installer in SimplePackageTest.java) plus install three extra application
3838
* launchers.
@@ -46,9 +46,9 @@
4646
* @library ../helpers
4747
* @build jdk.jpackage.test.*
4848
* @modules jdk.incubator.jpackage/jdk.incubator.jpackage.internal
49-
* @compile AdditionalLaunchersTest.java
49+
* @compile AddLauncherTest.java
5050
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
51-
* --jpt-run=AdditionalLaunchersTest.test
51+
* --jpt-run=AddLauncherTest.test
5252
*/
5353

5454
/*
@@ -58,13 +58,13 @@
5858
* @requires (jpackage.test.SQETest == null)
5959
* @library ../helpers
6060
* @build jdk.jpackage.test.*
61-
* @modules jdk.jpackage/jdk.jpackage.internal
62-
* @compile AdditionalLaunchersTest.java
61+
* @modules jdk.incubator.jpackage/jdk.incubator.jpackage.internal
62+
* @compile AddLauncherTest.java
6363
* @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main
64-
* --jpt-run=AdditionalLaunchersTest
64+
* --jpt-run=AddLauncherTest
6565
*/
6666

67-
public class AdditionalLaunchersTest {
67+
public class AddLauncherTest {
6868

6969
@Test
7070
public void test() {

0 commit comments

Comments
 (0)