The use of org.junit.rules.ExpectedException class to test for exceptions is bulky. Replace it with Assert#assertThrows() Junit4 calls. This should allow merging DottedVersionTest and InvalidDottedVersionTest tests.
- relates to
-
JDK-8344770 Switch jpackage unit tests to use JUnit5
-
- Resolved
-