Integrated: 8343875: Minor improvements of jpackage test library
Alexey Semenyuk
asemenyuk at openjdk.org
Thu Nov 14 04:20:55 UTC 2024
On Fri, 8 Nov 2024 23:57:58 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:
> The PR affects jpackage test library only. Changes:
>
> - Removed dependencies on `java.io.File`. `java.io.File.pathSeparator` is still used as there is no better alternative.
> - Use `TKit.concatMessages()` instead of `String.format()` in TKit.assert...() methods.
> - Added unit tests for all TKit.assert...() modified methods.
> - Added unit tests for `JavaAppDesc` class.
> - Added `jdk.jpackage.test.TestSuite` class to automatically run all jpackage test library unit tests. This eliminates the need to add jtreg comments to every jpackage test library unit test java source.
This pull request has now been integrated.
Changeset: 95a00f8a
Author: Alexey Semenyuk <asemenyuk at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/95a00f8a188048952871a10dc428566b18b91cb8
Stats: 536 lines in 11 files changed: 473 ins; 30 del; 33 mod
8343875: Minor improvements of jpackage test library
Reviewed-by: almatvee
-------------
PR: https://git.openjdk.org/jdk/pull/21995
More information about the core-libs-dev
mailing list