RFR: 8293535: jdk/javadoc/doclet/testJavaFX/TestJavaFxMode.java fail with jfx [v3]

Pavel Rappo prappo at openjdk.org
Fri Sep 16 17:49:48 UTC 2022


On Thu, 15 Sep 2022 15:49:07 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

> @hns notes the test is normally skipped, unless the FX classes are available. That explains the root cause of this issue.

For the future, I suggest we differentiate between a test that passes and a test whose assumptions do not hold. Such differentiation is supported by our test infrastructure:

  * `jtreg.SkippedException` in jtreg, or
  * `org.junit.jupiter.api.Assumptions` in JUnit 5.

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

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


More information about the javadoc-dev mailing list