On Tue, 16 Dec 2025 13:23:42 GMT, Daniel Fuchs <[email protected]> wrote:
> These test used to use the testng `IContextTest` API to stop tests after the > first failure. > @sormuras suggested an even more elegant way to do that with JUnit. > Usage of IContextTest has been replaced with a `TestWatcher` that records the > first failure and uses `Assumptions` to prevent further test execution. > > The rest of the changes were (almost) mechanical. This pull request has now been integrated. Changeset: c6da35d7 Author: Daniel Fuchs <[email protected]> URL: https://git.openjdk.org/jdk/commit/c6da35d7c7076aa9643b3dbf03a285420bb1003d Stats: 196 lines in 9 files changed: 57 ins; 67 del; 72 mod 8373796: Refactor java/net/httpclient/ThrowingPublishers*.java tests to use JUnit5 Reviewed-by: jpai ------------- PR: https://git.openjdk.org/jdk/pull/28846
