Changeset 7374


Ignore:
Timestamp:
12/09/10 11:04:52 (9 years ago)
Author:
melissa
Message:

Fixed series count population assertBlock's Y offset calculation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/test-suite/src/loci/tests/testng/OmeroOpenBytesTest.java

    r7372 r7374  
    9898    reader = new MinMaxCalculator(reader); 
    9999    reader.setId(id); 
     100    seriesCount = reader.getSeriesCount(); 
    100101  } 
    101102 
     
    116117            "openBytes(series:%d i:%d, buf.length:%d, x:%d, y:%d, w:%d, h:%d) " + 
    117118            "[sizeX: %d sizeY:%d bpp:%d] threw exception!", 
    118             i, buf.length, posX, posY, width, height, sizeX, sizeY, bpp), e); 
     119            reader.getSeries(), i, buf.length, posX, posY, width, height, 
     120            sizeX, sizeY, bpp), e); 
    119121      } 
    120122      // Compare hash digests 
     
    126128            i, blockSize, planeDigest, bufDigest)); 
    127129      } 
    128       // Update offsets, etc. 
    129       posY += height; 
    130130    } 
    131131  } 
     
    187187    sizeT = reader.getSizeT(); 
    188188    imageCount = reader.getImageCount(); 
    189     seriesCount = reader.getSeriesCount(); 
    190189    bpp = FormatTools.getBytesPerPixel(reader.getPixelType()); 
    191190    planeSize = sizeX * sizeY * bpp; 
Note: See TracChangeset for help on using the changeset viewer.