ome.formats.importer.util
Class TinyImportFixture

java.lang.Object
  extended by ome.formats.importer.util.TinyImportFixture

public class TinyImportFixture
extends Object

test fixture which uses a hard-coded file ("tinyTest.d3d.dv") from the classpath, and adds them to a new UUID-named dataset.

Since:
3.0-M3
Version:
$Revision: 1167 $, $Date: 2006-12-15 10:39:34 +0000 (Fri, 15 Dec 2006) $
Author:
Josh Moore, josh.moore at gmx.de
See Also:
OMEROMetadataStore, ExampleUnitTest

Field Summary
static String FILENAME
          Hard-coded filename of the image to be imported
 
Constructor Summary
TinyImportFixture(ServiceFactory services)
           
 
Method Summary
 void doImport()
           
 ome.model.containers.Dataset getDataset()
          provides access to the created Dataset instance.
 ome.model.core.Pixels getPixels()
           
 void setUp()
          checks for the necessary fields and initializes the ImportLibrary
 void tearDown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILENAME

public static final String FILENAME
Hard-coded filename of the image to be imported

See Also:
Constant Field Values
Constructor Detail

TinyImportFixture

public TinyImportFixture(ServiceFactory services)
                  throws Exception
Throws:
Exception
Method Detail

setUp

public void setUp()
           throws Exception
checks for the necessary fields and initializes the ImportLibrary

Throws:
Exception

doImport

public void doImport()

tearDown

public void tearDown()

getDataset

public ome.model.containers.Dataset getDataset()
provides access to the created Dataset instance.


getPixels

public ome.model.core.Pixels getPixels()


OmeroJava Api

Version: 4.3.4-dbcbce5a-b4

Copyright © 2009 The University of Dundee. All Rights Reserved.