use of ome.xml.model.Point in project bioformats by openmicroscopy.
the class Schema2011_06_File_Upgrade_Test method testShape1.
@Test(groups = { "11-06-u-roi" }, dependsOnMethods = { "testROI1AndUnion" })
public void testShape1() {
Assert.assertNotNull(union1);
shape1 = union1.getShape(0);
Assert.assertEquals(Point.class.getName(), shape1.getClass().getName());
Point point1 = (Point) shape1;
Assert.assertEquals(ref.ROI1Shape1TheC, point1.getTheC());
Assert.assertEquals(ref.ROI1Shape1PointX, point1.getX());
Assert.assertEquals(ref.ROI1Shape1PointY, point1.getY());
Assert.assertEquals(ref.ROI1Shape1FillRule, point1.getFillRule());
Assert.assertEquals(ref.ROI1Shape1FontFamily, point1.getFontFamily());
Assert.assertEquals(ref.ROI1Shape1FontSize, point1.getFontSize());
Assert.assertEquals(ref.ROI1Shape1FontStyle, point1.getFontStyle());
Assert.assertEquals(ref.ROI1Shape1StrokeDashArray, point1.getStrokeDashArray());
Assert.assertEquals(ref.ROI1Shape1StrokeWidth, point1.getStrokeWidth());
Assert.assertEquals(ref.ROI1Shape1Fill, point1.getFillColor());
Assert.assertEquals(ref.ROI1Shape1Stroke, point1.getStrokeColor());
Assert.assertEquals(ref.ROI1Shape1Label, point1.getText());
}
Aggregations