-
Bug
-
Resolution: Fixed
-
P3
-
jfx18
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8280463 | jfx19 | Kevin Rushforth | P3 | Resolved | Fixed | |
JDK-8286495 | jfx17.0.4 | Kevin Rushforth | P3 | Resolved | Fixed | |
JDK-8284829 | 8u341 | Kevin Rushforth | P3 | Resolved | Fixed | b03 |
JDK-8286011 | jfx11.0.16 | Kevin Rushforth | P3 | Resolved | Fixed |
-----------------------------------------------------------------------------
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assumptions.assumeTrue;
import org.junit.jupiter.api.Test;
public class JUnit5Test {
@Test
void junit5ShouldWork() {
assumeTrue(this != null);
assertNotNull(this);
System.err.println("JUnit 5 test working!");
}
}
-----------------------------------------------------------------------------
It will fail with the following error:
> Task :base:compileTestJava
modules/javafx.base/src/test/java/test/JUnit5Test.java:37: error: cannot access TestAbortedException
assumeTrue(this != null);
^
class file for org.opentest4j.TestAbortedException not found
- backported by
-
JDK-8280463 JUnit5 tests using Assumptions API fail to compile in some cases
- Resolved
-
JDK-8284829 JUnit5 tests using Assumptions API fail to compile in some cases
- Resolved
-
JDK-8286011 JUnit5 tests using Assumptions API fail to compile in some cases
- Resolved
-
JDK-8286495 JUnit5 tests using Assumptions API fail to compile in some cases
- Resolved
- blocks
-
JDK-8205915 [macOS] Accelerator assigned to button in dialog fires menuItem in owning stage
- Resolved
- relates to
-
JDK-8296283 JUnit5 tests using Params API fails to compile
- Resolved
-
JDK-8274274 Update JUnit to version 5.8.1
- Resolved
- links to
-
Commit openjdk/jfx11u/f01fc732
-
Commit openjdk/jfx17u/c8eafd82
-
Commit openjdk/jfx/94807b6e
-
Review openjdk/jfx11u/98
-
Review openjdk/jfx17u/59
-
Review openjdk/jfx/720