Changeset 7231


Ignore:
Timestamp:
11/22/10 11:51:21 (9 years ago)
Author:
melissa
Message:

Use an ImageWriter instead of a TiffWriter so that OME-TIFF files are written.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/bio-formats/test/loci/formats/utests/tiff/OMETiffWriterTest.java

    r7230 r7231  
    3232import loci.common.RandomAccessInputStream; 
    3333import loci.common.services.ServiceFactory; 
     34import loci.formats.ImageWriter; 
    3435import loci.formats.ome.OMEXMLMetadata; 
    35 import loci.formats.out.TiffWriter; 
    3636import loci.formats.services.OMEXMLService; 
    3737 
     
    109109  @Test 
    110110  public void testFileHandleClosure() throws Exception { 
    111     TiffWriter writer = new TiffWriter(); 
     111    ImageWriter writer = new ImageWriter(); 
    112112    writer.setMetadataRetrieve(ms); 
    113113    writer.setId(target.getAbsolutePath()); 
     
    133133    public void addFilter(Filter arg0) { 
    134134      // TODO Auto-generated method stub 
    135        
    136135    } 
    137136 
     
    141140    public void clearFilters() { 
    142141      // TODO Auto-generated method stub 
    143        
    144142    } 
    145143 
     
    149147    public void close() { 
    150148      // TODO Auto-generated method stub 
    151        
    152149    } 
    153150 
     
    209206    public void setErrorHandler(ErrorHandler handler) { 
    210207      // TODO Auto-generated method stub 
    211        
    212208    } 
    213209 
     
    217213    public void setLayout(Layout layout) { 
    218214      // TODO Auto-generated method stub 
    219        
    220215    } 
    221216 
     
    225220    public void setName(String name) { 
    226221      // TODO Auto-generated method stub 
    227        
    228     } 
    229      
     222    } 
     223 
    230224  } 
    231225} 
Note: See TracChangeset for help on using the changeset viewer.