95% automated migration (search and replace).
A handful of slightly note-worthy tweaks (called out with inline comments).

The majority/automated changes are:
* Convert to JUnit assertions (oddly, very few places)
* Convert to JUnit data providers (almost all tests)
* Convert test to use assertThrows (many tests)
* Make util methods static (needed for data providers, but done everywhere for 
consistency)
* Organise imports

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

Commit messages:
 - 8379441: Refactor jaxp/javax catalog tests to use JUnit

Changes: https://git.openjdk.org/jdk/pull/30124/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30124&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8379441
  Stats: 564 lines in 28 files changed: 128 ins; 152 del; 284 mod
  Patch: https://git.openjdk.org/jdk/pull/30124.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/30124/head:pull/30124

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

Reply via email to