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

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

@@ -27,17 +27,23 @@
 
 import static org.junit.Assert.assertEquals;
 
 import java.lang.reflect.Method;
 
+import com.sun.javafx.FXUnit;
 import javafx.beans.property.IntegerProperty;
 import javafx.beans.property.SimpleIntegerProperty;
 
 import org.junit.Before;
+import org.junit.Rule;
 import org.junit.Test;
 
 public class FloatMapTest extends EffectsTestBase {
+
+    @Rule
+    public FXUnit fx = new FXUnit();
+
     private FloatMap floatMap;
     private DisplacementMap displacementMap;
 
     @Before
     public void setUp() {