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

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

@@ -23,23 +23,29 @@
  * questions.
  */
 
 package javafx.scene;
 
+import com.sun.javafx.FXUnit;
 import com.sun.javafx.test.NodeOrientationTestBase;
 import java.util.Arrays;
 import java.util.Collection;
 import javafx.geometry.NodeOrientation;
 import org.junit.Assert;
+import org.junit.Rule;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.junit.runners.Parameterized;
 import org.junit.runners.Parameterized.Parameters;
 
 @RunWith(Parameterized.class)
 public final class Node_effectiveOrientation_Test
         extends NodeOrientationTestBase {
+
+    @Rule
+    public FXUnit fx = new FXUnit();
+
     private final Scene testScene;
     private final String orientationUpdate;
     private final String expectedOrientation;
 
     private static Scene lriiliScene() {