modules/graphics/src/test/java/javafx/scene/Parent_structure_sync_Test.java

Print this page
rev 6167 : RT-35330 [Monocle] Remove StubToolkit and replace it with headless glass implementation

*** 23,47 **** --- 23,53 ---- * questions. */ package javafx.scene; + import com.sun.javafx.FXUnit; import com.sun.javafx.pgstub.StubToolkit; import com.sun.javafx.sg.prism.NGGroup; import com.sun.javafx.tk.Toolkit; import javafx.scene.shape.Rectangle; import javafx.stage.Stage; import org.junit.Before; + import org.junit.Rule; import org.junit.Test; import static org.junit.Assert.*; /** * Tests to make sure the synchronization of children between a Parent and PGGroup * works as expected. */ public class Parent_structure_sync_Test { + + @Rule + public FXUnit fx = new FXUnit(); + private Rectangle r1, r2, r3, r4, r5; private Parent parent; private NGGroup peer; @Before public void setup() {