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

Print this page

        

*** 40,50 **** 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.paint.Paint; import javafx.geometry.Insets; import com.sun.javafx.scene.layout.region.RepeatStruct; import com.sun.javafx.scene.layout.region.BorderImageSlices; --- 40,50 ---- import org.junit.BeforeClass; import org.junit.Test; import org.jemmy.fx.Root; import org.jemmy.action.GetAction; import client.test.Keywords; ! 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,104 **** 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())); } @Test public void testfxcontentdisplay () { Set<String> styleNames = getStyleNames(); --- 94,104 ---- 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(data.getInitialValue(getControl()), "15"); } @Test public void testfxcontentdisplay () { Set<String> styleNames = getStyleNames();