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

Print this page




  25 package test.css.controls.api.styles;
  26 
  27 import javafx.css.CssMetaData;
  28 import java.util.Map;
  29 import java.util.Set;
  30 import javafx.scene.Node;
  31 import javafx.scene.control.*;
  32 import javafx.scene.layout.*;
  33 import javafx.scene.chart.*;
  34 import javafx.scene.shape.*;
  35 import javafx.scene.web.*;
  36 import javafx.scene.image.*;
  37 import javafx.scene.text.*;
  38 import javafx.scene.*;
  39 import org.junit.Assert;
  40 import org.junit.BeforeClass;
  41 import org.junit.Test;
  42 import org.jemmy.fx.Root;
  43 import org.jemmy.action.GetAction;
  44 import client.test.Keywords;
  45 import com.sun.javafx.scene.control.skin.*;
  46 import javafx.scene.paint.Paint;
  47 import javafx.geometry.Insets;
  48 import com.sun.javafx.scene.layout.region.RepeatStruct;
  49 import com.sun.javafx.scene.layout.region.BorderImageSlices;
  50 
  51 
  52 /**
  53  * Generation test
  54  * @author sergey.lugovoy@oracle.com
  55  */
  56 public class StylesSeparatorTest extends BaseStyleNodeTest {
  57 
  58     @Override
  59     Node getControl() {
  60         return new GetAction<Node>() {
  61             @Override
  62             public void run(Object... os) throws Exception {
  63                 Separator control = new Separator();
  64                 control.setSkin(new SeparatorSkin(control));
  65                 setResult(control);




  25 package test.css.controls.api.styles;
  26 
  27 import javafx.css.CssMetaData;
  28 import java.util.Map;
  29 import java.util.Set;
  30 import javafx.scene.Node;
  31 import javafx.scene.control.*;
  32 import javafx.scene.layout.*;
  33 import javafx.scene.chart.*;
  34 import javafx.scene.shape.*;
  35 import javafx.scene.web.*;
  36 import javafx.scene.image.*;
  37 import javafx.scene.text.*;
  38 import javafx.scene.*;
  39 import org.junit.Assert;
  40 import org.junit.BeforeClass;
  41 import org.junit.Test;
  42 import org.jemmy.fx.Root;
  43 import org.jemmy.action.GetAction;
  44 import client.test.Keywords;
  45 import javafx.scene.control.skin.*;
  46 import javafx.scene.paint.Paint;
  47 import javafx.geometry.Insets;
  48 import com.sun.javafx.scene.layout.region.RepeatStruct;
  49 import com.sun.javafx.scene.layout.region.BorderImageSlices;
  50 
  51 
  52 /**
  53  * Generation test
  54  * @author sergey.lugovoy@oracle.com
  55  */
  56 public class StylesSeparatorTest extends BaseStyleNodeTest {
  57 
  58     @Override
  59     Node getControl() {
  60         return new GetAction<Node>() {
  61             @Override
  62             public void run(Object... os) throws Exception {
  63                 Separator control = new Separator();
  64                 control.setSkin(new SeparatorSkin(control));
  65                 setResult(control);