modules/graphics/src/test/java/javafx/scene/effect/DistantLightTest.java

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

@@ -26,18 +26,25 @@
 package javafx.scene.effect;
 
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertNull;
+
+import com.sun.javafx.FXUnit;
 import javafx.scene.paint.Color;
 
 import org.junit.Before;
+import org.junit.Rule;
 import org.junit.Test;
 
 import com.sun.scenario.effect.Color4f;
 
 public class DistantLightTest extends LightTestBase {
+
+    @Rule
+    public FXUnit fx = new FXUnit();
+
     private Light.Distant effect;
 
     @Before
     public void setUp() {
         effect = new Light.Distant();