functional/FXCssTests/test/test/css/controls/api/styles/StylesListCellTest.java

Print this page

        

@@ -40,11 +40,11 @@
 import org.junit.BeforeClass;
 import org.junit.Test;
 import org.jemmy.fx.Root;
 import org.jemmy.action.GetAction;
 import client.test.Keywords;
-import com.sun.javafx.scene.control.skin.*;
+import javafx.scene.control.skin.*;
 import javafx.scene.paint.Paint;
 import javafx.geometry.Insets;
 import com.sun.javafx.scene.layout.region.RepeatStruct;
 import com.sun.javafx.scene.layout.region.BorderImageSlices;
 

@@ -94,11 +94,11 @@
         Set<String> styleNames = getStyleNames();
         Assert.assertNotNull(styleNames);
         Assert.assertTrue(styleNames.contains("-fx-cell-size"));
         Map<String, CssMetaData> styles = getStyles();
         CssMetaData data = styles.get("-fx-cell-size");
-        Assert.assertEquals(24.0, data.getInitialValue(getControl()));
+        Assert.assertEquals(data.getInitialValue(getControl()), "15");
     }
 
     @Test
     public void testfxcontentdisplay () {
         Set<String> styleNames = getStyleNames();