--- old/modules/graphics/src/test/java/javafx/scene/layout/RegionCSSTest.java 2014-01-23 16:00:24.000000000 +0200 +++ new/modules/graphics/src/test/java/javafx/scene/layout/RegionCSSTest.java 2014-01-23 16:00:24.000000000 +0200 @@ -25,6 +25,7 @@ package javafx.scene.layout; +import com.sun.javafx.FXUnit; import com.sun.javafx.pgstub.StubImageLoaderFactory; import com.sun.javafx.pgstub.StubPlatformImageInfo; import com.sun.javafx.pgstub.StubToolkit; @@ -35,6 +36,7 @@ import javafx.scene.paint.Color; import org.junit.Before; import org.junit.Ignore; +import org.junit.Rule; import org.junit.Test; import java.net.MalformedURLException; @@ -54,6 +56,10 @@ * which is a box with multiple declarations, so declaration 3 (or whatnot). */ public class RegionCSSTest { + + @Rule + public FXUnit fx = new FXUnit(); + // The color is drawn behind any background images. // The background color is clipped according to the ???background-clip??? value associated with the bottom-most background image. // Background images are drawn such that the first specified is on "top", closer to the user. But our BackgroundFill's are completely backwards from that!