|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.formats.importer.ImportFixture
public class ImportFixture
test fixture for importing files without a GUI.
OMEROMetadataStoreClient
,
ExampleUnitTest
Constructor Summary | |
---|---|
ImportFixture(OMEROMetadataStoreClient store,
OMEROWrapper reader)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImportFixture(OMEROMetadataStoreClient store, OMEROWrapper reader)
Method Detail |
---|
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)
step
- an action to take per plane. not null.
Exception
Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: 4.3.3-00d1137e-b2894
Copyright © 2009 The University of Dundee. All Rights Reserved.