This PR converts the TestNG tests in _util/ServiceLoader_ (7), 
_util/StringJoiner_ (3), and _util/Vector_ (1) to JUnit.
The first commit is from the automated tool, the rest are manual changes done 
after.

Before
ServiceLoader: Framework-based tests: 62 = 62 TestNG + 0 JUnit
StringJoiner: Framework-based tests: 32 = 32 TestNG + 0 JUnit
Vector: Framework-based tests: 9 = 9 TestNG + 0 JUnit

After
ServiceLoader: Framework-based tests: 62 = 0 TestNG + 62 JUnit
StringJoiner: Framework-based tests: 32 = 0 TestNG + 32 JUnit
Vector: Framework-based tests: 9 = 0 TestNG + 9 JUnit

-------------

Commit messages:
 - Copyright years
 - Clean up some lambdas for exception tests
 - TestInstance.Lifecycle.PER_CLASS -> _.PER_METHOD
 - Replacing groups option w/ tag for StringJoiner tests
 - Apply auto conversion tool

Changes: https://git.openjdk.org/jdk/pull/29210/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29210&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8375231
  Stats: 408 lines in 11 files changed: 93 ins; 33 del; 282 mod
  Patch: https://git.openjdk.org/jdk/pull/29210.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29210/head:pull/29210

PR: https://git.openjdk.org/jdk/pull/29210

Reply via email to