• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Change
  • Next Change →

Changeset 1599 for branches/3.0-Beta2

Show
Ignore:
Timestamp:
06/06/07 02:15:58 (17 months ago)
Author:
david
Message:

DeltaVision? test successful

Location:
branches/3.0-Beta2/components/romio
Files:
2 added
1 removed
3 modified

  • build.xml (modified) (1 diff)
  • src/ome/io/nio/DeltaVision.java (modified) (5 diffs)
  • src/ome/io/nio/DeltaVisionHeader.java (modified) (2 diffs)
  • test/ome/io/nio/utests/DeltaVisionTest.java (added)
  • test/ome/io/nio/utests/tinyTest.d3d.dv (deleted)
  • test/tinyTest.d3d.dv (added)

Legend:

Unmodified
Added
Removed
  • branches/3.0-Beta2/components/romio/build.xml

    r1167 r1599  
    44        <property name="classpath.file" value="classpath.xml"/> 
    55        <import file="${classpath.file}"/> 
     6 
     7        <copy todir="${testclasses.dir}"> 
     8        <fileset dir="${test.dir}"> 
     9                <include name="tinyTest.d3d.dv"/> 
     10         </fileset> 
     11        </copy> 
    612         
    713</project> 
  • branches/3.0-Beta2/components/romio/src/ome/io/nio/DeltaVision.java

    r1597 r1599  
    6666                        -128, 127, -128, 127 }; 
    6767 
     68         
    6869        /** 
    6970         * Constructor requires OriginalFile object 
    … …  
    9697         */ 
    9798        public byte[] calculateMessageDigest() throws IOException { 
    98                 // TODO - test 
     99 
    99100                MessageDigest md; 
    100101 
    … …  
    138139        public MappedByteBuffer getPlane(Integer z, Integer c, Integer t) 
    139140                        throws IOException, DimensionsOutOfBoundsException { 
    140                 // TODO - test 
     141 
    141142                Long offset = getPlaneOffset(z, c, t); 
    142143                Integer size = getPlaneSize(); 
    … …  
    212213         */ 
    213214        public Integer getPlaneSize() { 
     215 
    214216                if (planeSize == null) { 
    215217                        planeSize = getSizeX() * getSizeY() * getByteWidth(); 
    216218                } 
    217219                return planeSize; 
     220                 
    218221        } 
    219222 
    … …  
    240243        public MappedByteBuffer getRow(Integer y, Integer z, Integer c, Integer t) 
    241244                        throws IOException, DimensionsOutOfBoundsException { 
    242                 // TODO - affected by stack and timepoint 
     245 
    243246                Long offset = getRowOffset(y, z, c, t); 
    244247                Integer size = getRowSize(); 
  • branches/3.0-Beta2/components/romio/src/ome/io/nio/DeltaVisionHeader.java

    r1597 r1599  
    33import java.nio.ByteOrder; 
    44import java.nio.MappedByteBuffer; 
    5  
    6  
    7 import org.apache.commons.logging.Log; 
    8 import org.apache.commons.logging.LogFactory; 
    95 
    106/** 
    … …  
    5753        private String imageType; 
    5854 
    59         private transient static Log log = LogFactory.getLog(DeltaVisionHeader.class); 
    60  
    6155        /** 
    6256         * Constructor 

Download in other formats:

  • Unified Diff
  • Zip Archive

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/