JDK-8234077 : Evaluate ignored unit tests in RenderRootTest
  • Type: Bug
  • Component: javafx
  • Sub-Component: scenegraph
  • Affected Version: openjfx13
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-11-13
  • Updated: 2021-09-03
  • Resolved: 2021-04-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
openjfx17Fixed
Related Reports
Relates :  
Relates :  
Description
The test  test.com.sun.javafx.sg.prism.RenderRootTest.zeroSizeDirtyRegionWithinOpaqueRegion  fails with below error,

test.com.sun.javafx.sg.prism.RenderRootTest > zeroSizeDirtyRegionWithinOpaqueRegion FAILED
    java.lang.AssertionError: expected same:<test.com.sun.javafx.sg.prism.NGTestBase$TestNGGroup@5b4f1e56> was not:<test.com.sun.javafx.sg.prism.NGTestBase$TestNGRectangle@d275439>
        at org.junit.Assert.fail(Assert.java:91)
        at org.junit.Assert.failNotSame(Assert.java:639)
        at org.junit.Assert.assertSame(Assert.java:578)
        at org.junit.Assert.assertSame(Assert.java:591)
        at test.com.sun.javafx.sg.prism.RenderRootTest.assertRenderRoot(RenderRootTest.java:121)
        at test.com.sun.javafx.sg.prism.RenderRootTest.zeroSizeDirtyRegionWithinOpaqueRegion(RenderRootTest.java:338)

It should be evaluated if the failure is a test bug or product bug.

The test emptyDirtyRegion() is ignored because of uncertainty of behavior when dirty region is (0,0,-1,-1) 
Comments
Changeset: 86b854dc Author: Ambarish Rapte <arapte@openjdk.org> Date: 2021-04-21 06:47:18 +0000 URL: https://git.openjdk.java.net/jfx/commit/86b854dc
21-04-2021