Changeset 6579


Ignore:
Timestamp:
06/28/10 15:34:33 (9 years ago)
Author:
bdezonia
Message:

more options.setVirtual() support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/loci-plugins/test/loci/plugins/in/ImporterTest.java

    r6578 r6579  
    11271127   
    11281128  /** tests BF's options.setOpenAllSeries() and options.setConcatenate() */ 
    1129   private void datasetConcatenateTester(int pixType, int x, int y, int z, int c, int t, int s) 
     1129  private void datasetConcatenateTester(boolean virtual,int pixType, int x, int y, int z, int c, int t, int s) 
    11301130  { 
    11311131    assertTrue(s >= 1);  // necessary for this test 
     
    11391139    try { 
    11401140      ImporterOptions options = new ImporterOptions(); 
     1141      options.setVirtual(virtual); 
    11411142      options.setId(path); 
    11421143      options.setOpenAllSeries(true); 
     
    19421943  public void testDatasetConcatenate() 
    19431944  { 
    1944     // open a dataset that has multiple series and should get back a single series 
    1945     datasetConcatenateTester(FormatTools.UINT8, 82, 47, 1, 1, 1, 1); 
    1946     datasetConcatenateTester(FormatTools.UINT8, 82, 47, 1, 1, 1, 17); 
    1947     datasetConcatenateTester(FormatTools.UINT8, 82, 47, 4, 5, 2, 9); 
     1945    for (boolean virtual : BooleanStates) 
     1946    { 
     1947      // open a dataset that has multiple series and should get back a single series 
     1948      datasetConcatenateTester(virtual,FormatTools.UINT8, 82, 47, 1, 1, 1, 1); 
     1949      datasetConcatenateTester(virtual,FormatTools.UINT8, 82, 47, 1, 1, 1, 17); 
     1950      datasetConcatenateTester(virtual,FormatTools.UINT8, 82, 47, 4, 5, 2, 9); 
     1951    } 
    19481952  } 
    19491953 
Note: See TracChangeset for help on using the changeset viewer.