RFR: 8273242: (test) Refactor to use TestNG for RuntimeTests ExecCommand tests

Roger Riggs rriggs at openjdk.java.net
Wed Sep 1 16:42:47 UTC 2021

The ExecCommand test of Runtime.exec is difficult to maintain; the parallel arrays are hard to keep in sync.
This cleanup converts to use TestNG DataProviders and other improvements.


Commit messages:
 - 8273242: Refactored ExecCommand to use TestNG DataProvider for cases

Changes: https://git.openjdk.java.net/jdk/pull/5335/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5335&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8273242
  Stats: 270 lines in 1 file changed: 137 ins; 97 del; 36 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5335.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5335/head:pull/5335

PR: https://git.openjdk.java.net/jdk/pull/5335

More information about the core-libs-dev mailing list