Package jfxtras.test

Examples of jfxtras.test.AssertNode


            );
    });
       
    Node n = (Node)find("#RegularAppointmentPane1");
    //AssertNode.generateSource("n", n, null, false, jfxtras.test.AssertNode.A.XYWH);
    new AssertNode(n).assertXYWH(0.5, 419.5, 125.0, 84.0, 0.01);
    //TestUtil.sleep(3000);
  }
View Full Code Here


    });
     
    {
      Node n = (Node)find("#WholedayAppointmentPane1");
      //AssertNode.generateSource("n", n, null, false, jfxtras.test.AssertNode.A.XYWH);
      new AssertNode(n).assertXYWH(0.5, 0.0, 5.0, 1006.0, 0.01);
    }
    {
      Node n = (Node)find("#AppointmentHeaderPane1");
      //AssertNode.generateSource("n", n, null, false, jfxtras.test.AssertNode.A.XYWH);
      new AssertNode(n).assertXYWH(0.0, 23.94140625, 135.21763392857142, 20.9609375, 0.01);
    }
    //TestUtil.sleep(3000);
  }
View Full Code Here

    });
       
    {
      Node n = (Node)find("#RegularAppointmentPane1");
      //AssertNode.generateSource("n", n, null, false, jfxtras.test.AssertNode.A.A.XYWH);
      new AssertNode(n).assertXYWH(0.5, 419.5, 110.0, 84.0, 0.01);
    }
    {
      Node n = (Node)find("#RegularAppointmentPane2");
      //AssertNode.generateSource("n", n, null, false, jfxtras.test.AssertNode.A.A.XYWH);
      new AssertNode(n).assertXYWH(62.5, 461.5, 63.0, 84.0, 0.01);
    }
    //TestUtil.sleep(3000);
  }
View Full Code Here

    // this not only checks if the appointment was changed, but also if it was rerendered
    {
      Node n = (Node)find("#WholedayAppointmentPane1");
      //AssertNode.generateSource("n", n, null, false, jfxtras.test.AssertNode.A.XYWH);
      new AssertNode(n).assertXYWH(0.5, 0.0, 5.0, 1006.0, 0.01);
    }
    {
      Node n = (Node)find("#AppointmentHeaderPane1");
      //AssertNode.generateSource("n", n, null, false, jfxtras.test.AssertNode.A.XYWH);
      new AssertNode(n).assertXYWH(0.0, 23.94140625, 135.21763392857142, 20.9609375, 0.01);
    }
    //TestUtil.sleep(3000);
  }
View Full Code Here

   */
  @Test
  public void checkPositions()
  {
    //AssertNode.generateSource("gridPane", gridPane.getChildren(), null, false, A.XYWH, A.CLASS);
    new AssertNode(gridPane.getChildren().get(1)).assertXYWH(71.0, 10.0, 52.0, 17.0, 0.01).assertClass(javafx.scene.control.Label.class);
    new AssertNode(gridPane.getChildren().get(2)).assertXYWH(199.0, 10.0, 34.0, 17.0, 0.01).assertClass(javafx.scene.control.Label.class);
    new AssertNode(gridPane.getChildren().get(3)).assertXYWH(10.0, 10.0, 56.0, 51.0, 0.01).assertClass(javafx.scene.control.Label.class);
    new AssertNode(gridPane.getChildren().get(4)).assertXYWH(71.0, 38.0, 162.0, 17.0, 0.01).assertClass(javafx.scene.control.Label.class);
    new AssertNode(gridPane.getChildren().get(5)).assertXYWH(10.0, 66.0, 33.0, 17.0, 0.01).assertClass(javafx.scene.control.Label.class);
    new AssertNode(gridPane.getChildren().get(6)).assertXYWH(95.0, 66.0, 115.0, 85.0, 0.01).assertClass(javafx.scene.control.Label.class);
    new AssertNode(gridPane.getChildren().get(7)).assertXYWH(10.0, 134.0, 49.0, 17.0, 0.01).assertClass(javafx.scene.control.Label.class);
    new AssertNode(gridPane.getChildren().get(8)).assertXYWH(238.0, 88.0, 23.0, 17.0, 0.01).assertClass(javafx.scene.control.Label.class);
  }
View Full Code Here

      circularPane.getChildren().add(new javafx.scene.shape.Rectangle(30,30));
    });

    //generateSource(circularPane);
    assertWH(circularPane, 42.42640687119285, 42.42640687119285);
    new AssertNode(circularPane.getChildren().get(0)).assertXYWH(6.2132034355964265, 6.2132034355964265, 30.0, 30.0, 0.01).assertClass(javafx.scene.shape.Rectangle.class);
  }
View Full Code Here

      }
    });

    //generateSource(circularPane);
    assertWH(circularPane, 84.8528137423857, 42.42640687119285);
    new AssertNode(circularPane.getChildren().get(0)).assertXYWH(48.63961030678928, 6.2132034355964265, 30.0, 30.0, 0.01).assertClass(javafx.scene.shape.Rectangle.class);
    new AssertNode(circularPane.getChildren().get(1)).assertXYWH(6.2132034355964265, 6.21320343559643, 30.0, 30.0, 0.01).assertClass(javafx.scene.shape.Rectangle.class);
  }
View Full Code Here

      }
    });

    //generateSource(circularPane);
    assertWH(circularPane, 42.42640687119285, 84.8528137423857);
    new AssertNode(circularPane.getChildren().get(0)).assertXYWH(6.21320343559643, 48.63961030678928, 30.0, 30.0, 0.01).assertClass(javafx.scene.shape.Rectangle.class);
    new AssertNode(circularPane.getChildren().get(1)).assertXYWH(6.2132034355964265, 6.2132034355964265, 30.0, 30.0, 0.01).assertClass(javafx.scene.shape.Rectangle.class);
  }
View Full Code Here

      }
    });

    //generateSource(circularPane);
    assertWH(circularPane, 72.42640687119285, 72.42640687119285);
    new AssertNode(circularPane.getChildren().get(0)).assertXYWH(36.21320343559643, 36.21320343559643, 30.0, 30.0, 0.01).assertClass(javafx.scene.shape.Rectangle.class);
    new AssertNode(circularPane.getChildren().get(1)).assertXYWH(6.2132034355964265, 6.2132034355964265, 30.0, 30.0, 0.01).assertClass(javafx.scene.shape.Rectangle.class);
  }
View Full Code Here

      }
    });

    //generateSource(circularPane);
    assertWH(circularPane, 79.16875301294053, 63.63961030678928);
    new AssertNode(circularPane.getChildren().get(0)).assertXYWH(42.9555495773441, 27.426406871192846, 30.0, 30.0, 0.01).assertClass(javafx.scene.shape.Rectangle.class);
    new AssertNode(circularPane.getChildren().get(1)).assertXYWH(6.2132034355964265, 6.213203435596428, 30.0, 30.0, 0.01).assertClass(javafx.scene.shape.Rectangle.class);
  }
View Full Code Here

TOP

Related Classes of jfxtras.test.AssertNode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.