public class ImportFixture extends Object
OMEROMetadataStoreClient
,
ExampleUnitTest
Constructor and Description |
---|
ImportFixture(OMEROMetadataStoreClient store,
OMEROWrapper reader) |
Modifier and Type | Method and Description |
---|---|
void |
doImport()
runs import by looping through all files and then calling:
ImportLibrary#open(String)
ImportLibrary#calculateImageCount(String)
ImportLibrary#importMetadata()
ImportLibrary#importData(long, String)
|
ImportFixture |
put(File file,
omero.model.Dataset ds) |
ImportFixture |
putAll(Map<File,omero.model.Dataset> map) |
void |
setUp()
checks for the necessary fields and initializes the
ImportLibrary |
void |
tearDown()
sets
ImportLibrary , OMEROMetadataStoreClient , and file array
to null. |
public ImportFixture(OMEROMetadataStoreClient store, OMEROWrapper reader)
public ImportFixture put(File file, omero.model.Dataset ds)
public ImportFixture putAll(Map<File,omero.model.Dataset> map)
public void setUp() throws Exception
ImportLibrary
Exception
public void tearDown()
ImportLibrary
, OMEROMetadataStoreClient
, and file array
to null. Also attempts to call FormatReader.close()
.public void doImport() throws Throwable
ImportLibrary#open(String)
ImportLibrary#calculateImageCount(String)
ImportLibrary#importMetadata()
ImportLibrary#importData(long, String)
Version: 5.1.2-ice35-b45
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.