Ignore:
Timestamp:
07/09/10 10:09:53 (9 years ago)
Author:
curtis
Message:

Add a flag to disable tests with special requirements. All tests now pass.

File:
1 edited

Legend:

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

    r6672 r6682  
    9797  /** Whether to log debugging messages to stdout. */ 
    9898  static final boolean DEBUG = false; 
     99 
     100  /** 
     101   * Whether to run tests with special requirements. 
     102   * This flag is mainly to disable the testDatasetOpenFilesIndividually test 
     103   * on systems without the required Bio-Rad PIC sample data available. 
     104   */ 
     105  static final boolean RUN_SPECIAL_TESTS = false; 
    99106 
    100107  private enum Axis {Z,C,T}; 
     
    21192126  public void testDatasetOpenFilesIndividually() 
    21202127  { 
    2121     for (boolean virtual : BOOLEAN_STATES) 
    2122       datasetOpenFilesIndividuallyTester(virtual); 
     2128    if (RUN_SPECIAL_TESTS) { 
     2129      for (boolean virtual : BOOLEAN_STATES) 
     2130        datasetOpenFilesIndividuallyTester(virtual); 
     2131    } 
    21232132  } 
    21242133 
Note: See TracChangeset for help on using the changeset viewer.