use of ome.xml.model.Label in project bioformats by openmicroscopy.
the class Schema2011_06_File_Upgrade_Test method testShape12.
@Test(groups = { "11-06-u-roi" }, dependsOnMethods = { "testROI4AndUnion" })
public void testShape12() {
Assert.assertNotNull(union4);
shape12 = union4.getShape(0);
Assert.assertEquals(Label.class.getName(), shape12.getClass().getName());
Label label12 = (Label) shape12;
Assert.assertEquals(MESSAGE_REMOVED_PATH, label12.getText());
Assert.assertEquals(Double.valueOf(0), label12.getX());
Assert.assertEquals(Double.valueOf(0), label12.getY());
}
Aggregations