< prev index next >
tests/system/src/test/java/test/robot/javafx/scene/layout/RegionShapeUITest.java
Print this page
rev 9491 : 8145203: Refactor systemTests for clear separation of tests
Reviewed-by: kcr
@@ -20,12 +20,13 @@
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
-package javafx.scene.layout;
+package test.robot.javafx.scene.layout;
+import test.robot.javafx.scene.layout.RegionUITestBase;
import org.junit.Test;
/**
*/
public class RegionShapeUITest extends RegionUITestBase {
@@ -153,63 +154,63 @@
// "-fx-scale-shape: false;" +
// "-fx-shape: " + ARROW + ";");
// }
//
// public void imageFill(Region region) {
-// region.setStyle("-fx-background-image: url('region/test20x20.png');" +
+// region.setStyle("-fx-background-image: url('test/robot/javafx/scene/layout/test20x20.png');" +
// "-fx-shape: " + ARROW + ";");
// }
//
// public void imageFill_NotScaled(Region region) {
-// region.setStyle("-fx-background-image: url('region/test20x20.png');" +
+// region.setStyle("-fx-background-image: url('test/robot/javafx/scene/layout/test20x20.png');" +
// "-fx-scale-shape: false;" +
// "-fx-shape: " + ARROW + ";");
// }
//
// public void imageFill_NotScaledAndNotCentered(Region region) {
-// region.setStyle("-fx-background-image: url('region/test20x20.png');" +
+// region.setStyle("-fx-background-image: url('test/robot/javafx/scene/layout/test20x20.png');" +
// "-fx-position-shape: false;" +
// "-fx-scale-shape: false;" +
// "-fx-shape: " + ARROW + ";");
// }
//
// public void imageFill_cover(Region region) {
-// region.setStyle("-fx-background-image: url('region/test20x20.png');" +
+// region.setStyle("-fx-background-image: url('test/robot/javafx/scene/layout/test20x20.png');" +
// "-fx-background-size: cover;" +
// "-fx-shape: " + ARROW + ";");
// }
//
// public void imageFill_cover_NotScaled(Region region) {
-// region.setStyle("-fx-background-image: url('region/test20x20.png');" +
+// region.setStyle("-fx-background-image: url('test/robot/javafx/scene/layout/test20x20.png');" +
// "-fx-background-size: cover;" +
// "-fx-scale-shape: false;" +
// "-fx-shape: " + ARROW + ";");
// }
//
// public void imageFill_cover_NotScaledAndNotCentered(Region region) {
-// region.setStyle("-fx-background-image: url('region/test20x20.png');" +
+// region.setStyle("-fx-background-image: url('test/robot/javafx/scene/layout/test20x20.png');" +
// "-fx-background-size: cover;" +
// "-fx-position-shape: false;" +
// "-fx-scale-shape: false;" +
// "-fx-shape: " + ARROW + ";");
// }
//
// public void multipleFills(Region region) {
-// region.setStyle("-fx-background-color: red, repeating-image-pattern('region/test20x20.png'), blue;" +
+// region.setStyle("-fx-background-color: red, repeating-image-pattern('test/robot/javafx/scene/layout/test20x20.png'), blue;" +
// "-fx-background-insets: 0, 20, 40;" +
// "-fx-shape: " + ARROW + ";");
// }
//
// public void multipleFills_NotScaled(Region region) {
-// region.setStyle("-fx-background-color: red, repeating-image-pattern('region/test20x20.png'), blue;" +
+// region.setStyle("-fx-background-color: red, repeating-image-pattern('test/robot/javafx/scene/layout/test20x20.png'), blue;" +
// "-fx-background-insets: 0, 20, 40;" +
// "-fx-scale-shape: false;" +
// "-fx-shape: " + ARROW + ";");
// }
//
// public void multipleFills_NotScaledAndNotCentered(Region region) {
-// region.setStyle("-fx-background-color: red, repeating-image-pattern('region/test20x20.png'), blue;" +
+// region.setStyle("-fx-background-color: red, repeating-image-pattern('test/robot/javafx/scene/layout/test20x20.png'), blue;" +
// "-fx-background-insets: 0, 20, 40;" +
// "-fx-position-shape: false;" +
// "-fx-scale-shape: false;" +
// "-fx-shape: " + ARROW + ";");
// }
@@ -462,28 +463,28 @@
// }
//
// public void solidImageStroke_5(Region region) {
// region.setStyle("-fx-border-style: solid;" +
// "-fx-background-color: lightgray;" +
-// "-fx-border-color: repeating-image-pattern('region/test20x20.png');" +
+// "-fx-border-color: repeating-image-pattern('test/robot/javafx/scene/layout/test20x20.png');" +
// "-fx-border-width: 5;" +
// "-fx-shape: " + ARROW + ";");
// }
//
// public void solidImageStroke_5_NotScaled(Region region) {
// region.setStyle("-fx-border-style: solid;" +
// "-fx-background-color: lightgray;" +
-// "-fx-border-color: repeating-image-pattern('region/test20x20.png');" +
+// "-fx-border-color: repeating-image-pattern('test/robot/javafx/scene/layout/test20x20.png');" +
// "-fx-border-width: 5;" +
// "-fx-scale-shape: false;" +
// "-fx-shape: " + ARROW + ";");
// }
//
// public void solidImageStroke_5_NotScaledAndNotCentered(Region region) {
// region.setStyle("-fx-border-style: solid;" +
// "-fx-background-color: lightgray;" +
-// "-fx-border-color: repeating-image-pattern('region/test20x20.png');" +
+// "-fx-border-color: repeating-image-pattern('test/robot/javafx/scene/layout/test20x20.png');" +
// "-fx-border-width: 5;" +
// "-fx-position-shape: false;" +
// "-fx-scale-shape: false;" +
// "-fx-shape: " + ARROW + ";");
// }
@@ -624,28 +625,28 @@
// }
//
// public void dashedImageStroke_5(Region region) {
// region.setStyle("-fx-border-style: dashed;" +
// "-fx-background-color: lightgray;" +
-// "-fx-border-color: repeating-image-pattern('region/test20x20.png');" +
+// "-fx-border-color: repeating-image-pattern('test/robot/javafx/scene/layout/test20x20.png');" +
// "-fx-border-width: 5;" +
// "-fx-shape: " + ARROW + ";");
// }
//
// public void dashedImageStroke_5_NotScaled(Region region) {
// region.setStyle("-fx-border-style: dashed;" +
// "-fx-background-color: lightgray;" +
-// "-fx-border-color: repeating-image-pattern('region/test20x20.png');" +
+// "-fx-border-color: repeating-image-pattern('test/robot/javafx/scene/layout/test20x20.png');" +
// "-fx-border-width: 5;" +
// "-fx-scale-shape: false;" +
// "-fx-shape: " + ARROW + ";");
// }
//
// public void dashedImageStroke_5_NotScaledAndNotCentered(Region region) {
// region.setStyle("-fx-border-style: dashed;" +
// "-fx-background-color: lightgray;" +
-// "-fx-border-color: repeating-image-pattern('region/test20x20.png');" +
+// "-fx-border-color: repeating-image-pattern('test/robot/javafx/scene/layout/test20x20.png');" +
// "-fx-border-width: 5;" +
// "-fx-position-shape: false;" +
// "-fx-scale-shape: false;" +
// "-fx-shape: " + ARROW + ";");
// }
@@ -786,28 +787,28 @@
// }
//
// public void dottedImageStroke_5(Region region) {
// region.setStyle("-fx-border-style: dotted;" +
// "-fx-background-color: lightgray;" +
-// "-fx-border-color: repeating-image-pattern('region/test20x20.png');" +
+// "-fx-border-color: repeating-image-pattern('test/robot/javafx/scene/layout/test20x20.png');" +
// "-fx-border-width: 5;" +
// "-fx-shape: " + ARROW + ";");
// }
//
// public void dottedImageStroke_5_NotScaled(Region region) {
// region.setStyle("-fx-border-style: dotted;" +
// "-fx-background-color: lightgray;" +
-// "-fx-border-color: repeating-image-pattern('region/test20x20.png');" +
+// "-fx-border-color: repeating-image-pattern('test/robot/javafx/scene/layout/test20x20.png');" +
// "-fx-border-width: 5;" +
// "-fx-scale-shape: false;" +
// "-fx-shape: " + ARROW + ";");
// }
//
// public void dottedImageStroke_5_NotScaledAndNotCentered(Region region) {
// region.setStyle("-fx-border-style: dotted;" +
// "-fx-background-color: lightgray;" +
-// "-fx-border-color: repeating-image-pattern('region/test20x20.png');" +
+// "-fx-border-color: repeating-image-pattern('test/robot/javafx/scene/layout/test20x20.png');" +
// "-fx-border-width: 5;" +
// "-fx-position-shape: false;" +
// "-fx-scale-shape: false;" +
// "-fx-shape: " + ARROW + ";");
// }
@@ -830,11 +831,11 @@
// * *
// *************************************************************************/
//
// // This is a test case that should have no effect
//// public void shape_arrow_imageFill_repeatX(Region region) {
-//// region.setStyle("-fx-background-image: url('region/test20x20.png');" +
+//// region.setStyle("-fx-background-image: url('test/robot/javafx/scene/layout/test20x20.png');" +
//// "-fx-background-repeat: repeat-x;" +
//// "-fx-shape: " + ARROW + ";");
//// }
//
//// public void shape_arrow_RadiusIgnored(Region region) {
< prev index next >