This issue was uncovered when running the test added in a PR in commit #1+#2: 
https://github.com/openjdk/jfx/pull/924
The JUnit5 tests using Params API fails to compile.

Fix:
Change dependency of `junit-jupiter-params` from runtime to compile time.
From: 
https://junit.org/junit5/docs/current/user-guide/#overview-what-is-junit-5: it 
can be understood that packages of JUnit Jupiter other than `TestEngine` are 
required for test compilation and
JUnit Platform serves as a foundation for [launching testing 
frameworks](https://junit.org/junit5/docs/current/user-guide/#launcher-api)

It seems that changing dependency of this one package is sufficient for this 
fix.

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

Commit messages:
 - Change junit-jupiter-params to compilation dependency

Changes: https://git.openjdk.org/jfx/pull/939/files
 Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=939&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8296283
  Stats: 2 lines in 1 file changed: 1 ins; 1 del; 0 mod
  Patch: https://git.openjdk.org/jfx/pull/939.diff
  Fetch: git fetch https://git.openjdk.org/jfx pull/939/head:pull/939

PR: https://git.openjdk.org/jfx/pull/939

Reply via email to