public class FormatReaderTest extends Object
loci.formats.ome
and ome-xml.jar
are required for some of the tests.
To run tests:
ant -Dtestng.directory="/path" -Dtestng.multiplier="1.0" test-allModifier and Type | Field and Description |
---|---|
private Configuration |
config |
static ConfigurationTree |
configTree
Configuration tree structure containing dataset metadata.
|
private String |
id |
private boolean |
inMemory |
private static org.slf4j.Logger |
LOGGER |
private String |
omexmlDir |
private OMEXMLService |
omexmlService |
private BufferedImageReader |
reader
Global shared jeader for use in all tests.
|
private boolean |
skip |
private static String |
SKIP_MESSAGE
Message to give for why a test was skipped.
|
private static List<String> |
skipFiles
List of files to skip.
|
private float |
timeMultiplier
Multiplier for use adjusting timing values.
|
Constructor and Description |
---|
FormatReaderTest(String filename,
float multiplier,
boolean inMemory) |
private static final org.slf4j.Logger LOGGER
private static final String SKIP_MESSAGE
public static ConfigurationTree configTree
private BufferedImageReader reader
private String id
private boolean skip
private Configuration config
private String omexmlDir
private float timeMultiplier
private boolean inMemory
private OMEXMLService omexmlService
public FormatReaderTest(String filename, float multiplier, boolean inMemory)
public String getID()
public void setup() throws IOException
IOException
public void close() throws IOException
IOException
public void testBufferedImageDimensions()
public void testByteArrayDimensions()
public void testThumbnailImageDimensions()
public void testThumbnailByteArrayDimensions()
public void testImageCount()
public void testTileWidth()
public void testTileHeight()
public void testOMEXML()
public void testConsistentReader()
public void testSaneOMEXML()
public void testSeriesCount()
public void testSizeX()
public void testSizeY()
public void testSizeZ()
public void testSizeC()
public void testSizeT()
public void testDimensionOrder()
public void testIsInterleaved()
public void testIndexed()
public void testFalseColor()
public void testRGB()
public void testThumbSizeX()
public void testThumbSizeY()
public void testPixelType()
public void testLittleEndian()
public void testPhysicalSizeX()
public void testPhysicalSizeY()
public void testPhysicalSizeZ()
public void testTimeIncrement()
public void testLightSources()
public void testChannelNames()
public void testExposureTimes()
public void testDeltaT()
public void testPlanePositions()
public void testEmissionWavelengths()
public void testExcitationWavelengths()
public void testDetectors()
public void testImageNames()
public void testImageDescriptions()
public void testEqualOMEXML()
public void testPerformance()
public void testRequiredDirectories()
public void testSaneUsedFiles()
public void testValidXML()
public void testUnflattenedPixelsHashes()
public void testPixelsHashes()
public void testUnflattenedSubimagePixelsHashes()
public void testSubimagePixelsHashes()
public void testIsThisTypeConsistent()
public void testIsThisType()
public void testMemoFileUsage()
public void writeConfigFile()
public void writeXML()
private void setupReader()
private boolean initFile()
private boolean initFile(boolean removeDuplicateFiles)
private static void result(String testName, boolean success)
Copyright © 2015 Open Microscopy Environment