modules/graphics/src/test/java/com/sun/javafx/css/StyleManagerTest.java
Print this page
rev 6167 : RT-35330 [Monocle] Remove StubToolkit and replace it with headless glass implementation
@@ -23,28 +23,32 @@
* questions.
*/
package com.sun.javafx.css;
+import com.sun.javafx.FXUnit;
import com.sun.javafx.pgstub.StubToolkit;
import com.sun.javafx.tk.Toolkit;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.shape.Rectangle;
import javafx.scene.text.Text;
import javafx.stage.Popup;
import javafx.stage.Stage;
-import org.junit.Before;
-import org.junit.Test;
+import org.junit.*;
+
import static org.junit.Assert.*;
/**
*
* @author dgrieve
*/
public class StyleManagerTest {
+ @org.junit.Rule
+ public final FXUnit fx = new FXUnit();
+
public StyleManagerTest() {
}
@Before
public void setUp() {