Class TinyImportFixture


  • @Deprecated
    public class TinyImportFixture
    extends java.lang.Object
    Deprecated.
    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
    See Also:
    OMEROMetadataStore
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String FILENAME
      Deprecated.
      Hard-coded filename of the image to be imported
    • Constructor Summary

      Constructors 
      Constructor Description
      TinyImportFixture​(ome.system.ServiceFactory services)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void doImport()
      Deprecated.
       
      ome.model.containers.Dataset getDataset()
      Deprecated.
      provides access to the created Dataset instance.
      ome.model.core.Pixels getPixels()
      Deprecated.
       
      void setUp()
      Deprecated.
      Creates a dataset and locates the test image file.
      void tearDown()
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • FILENAME

        public static final java.lang.String FILENAME
        Deprecated.
        Hard-coded filename of the image to be imported
        See Also:
        Constant Field Values
    • Constructor Detail

      • TinyImportFixture

        public TinyImportFixture​(ome.system.ServiceFactory services)
                          throws java.lang.Exception
        Deprecated.
        Throws:
        java.lang.Exception
    • Method Detail

      • setUp

        public void setUp()
                   throws java.io.FileNotFoundException
        Deprecated.
        Creates a dataset and locates the test image file.
        Throws:
        java.io.FileNotFoundException - if the test image file could not be found
      • doImport

        public void doImport()
        Deprecated.
      • tearDown

        public void tearDown()
        Deprecated.
      • getDataset

        public ome.model.containers.Dataset getDataset()
        Deprecated.
        provides access to the created Dataset instance.
        Returns:
        the dataset
      • getPixels

        public ome.model.core.Pixels getPixels()
        Deprecated.