public class FormatWriterTest 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-all| Modifier and Type | Field and Description | 
|---|---|
| private static Configuration | config | 
| static ConfigurationTree | configTreeConfiguration tree structure containing dataset metadata. | 
| private static BufferedImageReader | convertedReaderReader for converted files. | 
| private String | id | 
| private static org.slf4j.Logger | LOGGER | 
| private static BufferedImageReader | readerReader for input file. | 
| private boolean | skip | 
| private static String | SKIP_MESSAGEMessage to give for why a test was skipped. | 
| static List | skipFilesList of files to skip. | 
| Constructor and Description | 
|---|
| FormatWriterTest(String filename) | 
| Modifier and Type | Method and Description | 
|---|---|
| private static String | checkMismatch(boolean i1,
             boolean i2,
             int series,
             String label) | 
| private static String | checkMismatch(int i1,
             int i2,
             int series,
             String label) | 
| private static String | checkMismatch(String s1,
             String s2,
             int series,
             String label) | 
| Object[][] | getWriterList() | 
| private static boolean | isLosslessWriter(IFormatWriter writer) | 
| private static void | result(String testName,
      boolean success,
      String msg)Outputs test result with optional extra message
 and generates appropriate assertion. | 
| void | testWriterConsistency(IFormatWriter writer) | 
private static final org.slf4j.Logger LOGGER
private static final String SKIP_MESSAGE
public static ConfigurationTree configTree
public static List skipFiles
private static BufferedImageReader reader
private static BufferedImageReader convertedReader
private static Configuration config
private String id
private boolean skip
public FormatWriterTest(String filename)
public Object[][] getWriterList()
public void testWriterConsistency(IFormatWriter writer)
private static void result(String testName, boolean success, String msg)
private static boolean isLosslessWriter(IFormatWriter writer)
Copyright © 2016 Open Microscopy Environment