modules/graphics/src/test/java/javafx/stage/StageMutabilityTest.java
Print this page
rev 6167 : RT-35330 [Monocle] Remove StubToolkit and replace it with headless glass implementation
@@ -27,18 +27,23 @@
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
+import com.sun.javafx.FXUnit;
+import org.junit.Rule;
import org.junit.Test;
/**
* Test those attributes on Stage that should be immutable after Stage is visible.
*
*/
public class StageMutabilityTest {
+ @Rule
+ public FXUnit fx = new FXUnit();
+
// ========== Tests for style
/**
* Tests the default value of style for a Stage
*/