Changeset 4319


Ignore:
Timestamp:
08/20/08 11:12:11 (12 years ago)
Author:
melissa
Message:

Make sure that values returned by isIndexed and isFalseColor are consistent.

Location:
trunk/loci/tests/testng
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/tests/testng/ConfigurationTree.java

    r3783 r4319  
    236236  public boolean isLittleEndian() { 
    237237    return toBoolean(getSeriesValue("little")); 
     238  } 
     239 
     240  public boolean isIndexed() { 
     241    return toBoolean(getSeriesValue("indexed")); 
     242  } 
     243 
     244  public boolean isFalseColor() { 
     245    return toBoolean(getSeriesValue("falseColor")); 
    238246  } 
    239247 
  • trunk/loci/tests/testng/FormatReaderTest.java

    r3970 r4319  
    472472        } 
    473473 
    474         //boolean passIndexed = config.isIndexed() == reader.isIndexed(); 
    475         //boolean passFalseColor = 
    476         //  config.isFalseColor() == reader.isFalseColor(); 
     474        boolean passIndexed = config.isIndexed() == reader.isIndexed(); 
     475        boolean passFalseColor = 
     476          config.isFalseColor() == reader.isFalseColor(); 
    477477 
    478478        success = passX && passY && passZ && passC && passT && passDim && 
    479           passInt && passRGB && passTX && passTY && passType && passLE; 
     479          passInt && passRGB && passTX && passTY && passType && passLE && 
     480          passIndexed && passFalseColor; 
    480481      } 
    481482    } 
Note: See TracChangeset for help on using the changeset viewer.