Please review this change to make tests in 
`test/langtools/jdk/internal/shellsupport/doc/` use JUnit.

The refactoring mostly converts `@Test` annotations from the class declaration 
to the method level, replaces `@run testng/...` tags with `@run junit/...`, and 
also flips the arguments of a single `assertEqual()` to have the expected value 
in first position.

A local run of `$ make test TEST=test/langtools/jdk/internal/shellsupport/doc/` 
now shows:

Running test 'jtreg:test/langtools/jdk/internal/shellsupport/doc'
Passed: jdk/internal/shellsupport/doc/JavadocFormatterTest.java
Passed: jdk/internal/shellsupport/doc/JavadocHelperTest.java
Passed: jdk/internal/shellsupport/doc/FullJavadocHelperTest.java
Test results: passed: 3
Framework-based tests: 21 = 0 TestNG + 21 JUnit

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

Commit messages:
 - 8379628: Refactor langtools/shellsupport/doc tests to use JUnit

Changes: https://git.openjdk.org/jdk/pull/30166/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30166&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8379628
  Stats: 36 lines in 3 files changed: 21 ins; 3 del; 12 mod
  Patch: https://git.openjdk.org/jdk/pull/30166.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/30166/head:pull/30166

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

Reply via email to