Changeset 6161


Ignore:
Timestamp:
04/21/10 10:33:56 (10 years ago)
Author:
callan
Message:

Few more OTF properties (critically no objective settings) to add to schema conformance.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/ome-xml/test/ome/xml/utests/InOut201004Test.java

    r6160 r6161  
    154154  private static final LaserType LASER_TYPE = LaserType.DYE; 
    155155 
     156  private static final Integer OTF_SIZE_X = 512; 
     157 
     158  private static final Integer OTF_SIZE_Y = 512; 
     159 
     160  private static final Boolean OTF_OPTICAL_AXIS_AVERAGED = Boolean.FALSE; 
     161 
    156162  private static final Integer WELL_ROWS = 3; 
    157163 
     
    318324    assertEquals(OTF_ID, otf.getID()); 
    319325    assertEquals(OTF_PIXELTYPE, otf.getType()); 
     326    assertEquals(OTF_SIZE_X, otf.getSizeX()); 
     327    assertEquals(OTF_SIZE_Y, otf.getSizeY()); 
     328    assertEquals(OTF_OPTICAL_AXIS_AVERAGED, otf.getOpticalAxisAveraged()); 
    320329    assertEquals(otf, ome.getInstrument(0).getFilterSet(0).getOTF(0)); 
    321330  } 
     
    457466    otf.setID(OTF_ID); 
    458467    otf.setType(OTF_PIXELTYPE); 
     468    otf.setSizeX(OTF_SIZE_X); 
     469    otf.setSizeY(OTF_SIZE_Y); 
     470    otf.setOpticalAxisAveraged(OTF_OPTICAL_AXIS_AVERAGED); 
    459471 
    460472    instrument.addFilter(emFilter); 
Note: See TracChangeset for help on using the changeset viewer.