Search in sources :

Example 6 with OMEXMLMetadataImpl

use of loci.formats.ome.OMEXMLMetadataImpl in project bioformats by openmicroscopy.

the class InOutCurrentTest method testValidMetadataRoot.

@Test
public void testValidMetadataRoot() {
    metadata = new OMEXMLMetadataImpl();
    metadata.setRoot(ome);
    assertEquals(ome, metadata.getRoot());
}
Also used : OMEXMLMetadataImpl(loci.formats.ome.OMEXMLMetadataImpl) Test(org.testng.annotations.Test)

Example 7 with OMEXMLMetadataImpl

use of loci.formats.ome.OMEXMLMetadataImpl in project bioformats by openmicroscopy.

the class BaseModelReaderTest method testSetId.

@Test
public void testSetId() throws Exception {
    reader = new MinMaxCalculator(new ChannelSeparator(new ChannelFiller(new ImageReader())));
    metadata = new OMEXMLMetadataImpl();
    reader.setMetadataStore(metadata);
    reader.setId(temporaryFile.getAbsolutePath());
}
Also used : MinMaxCalculator(loci.formats.MinMaxCalculator) ChannelFiller(loci.formats.ChannelFiller) ImageReader(loci.formats.ImageReader) ChannelSeparator(loci.formats.ChannelSeparator) OMEXMLMetadataImpl(loci.formats.ome.OMEXMLMetadataImpl) Test(org.testng.annotations.Test)

Aggregations

OMEXMLMetadataImpl (loci.formats.ome.OMEXMLMetadataImpl)7 Test (org.testng.annotations.Test)5 ChannelFiller (loci.formats.ChannelFiller)4 ChannelSeparator (loci.formats.ChannelSeparator)4 ImageReader (loci.formats.ImageReader)4 MinMaxCalculator (loci.formats.MinMaxCalculator)4 OMEXMLMetadataRoot (ome.xml.meta.OMEXMLMetadataRoot)2 OMEXMLMetadata (loci.formats.ome.OMEXMLMetadata)1 Arc (ome.xml.model.Arc)1 Filament (ome.xml.model.Filament)1 Instrument (ome.xml.model.Instrument)1 Laser (ome.xml.model.Laser)1 LightEmittingDiode (ome.xml.model.LightEmittingDiode)1 BeforeClass (org.testng.annotations.BeforeClass)1