modules/graphics/src/test/java/com/sun/javafx/css/StylesheetTest.java

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

@@ -23,10 +23,11 @@
  * questions.
  */
 
 package com.sun.javafx.css;
 
+import com.sun.javafx.FXUnit;
 import com.sun.javafx.css.converters.EnumConverter;
 import com.sun.javafx.css.converters.StringConverter;
 import com.sun.javafx.css.parser.CSSParser;
 import javafx.css.ParsedValue;
 import javafx.css.StyleConverter;

@@ -64,10 +65,13 @@
 import static org.junit.Assert.assertEquals;
 
 
 public class StylesheetTest {
 
+    @org.junit.Rule
+    public final FXUnit fx = new FXUnit();
+
     String testURL = null;
     
     public StylesheetTest() {
         testURL = getClass().getResource("HonorDeveloperSettingsTest_UA.css").toExternalForm();
     }