Changeset 2919


Ignore:
Timestamp:
06/28/07 13:23:45 (12 years ago)
Author:
melissa
Message:

Don't fail the writeConfig test if the file is invalid.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/test/ReaderTest.java

    r2880 r2919  
    593593    } 
    594594    catch (Exception e) { 
    595       writeLog(file + " failed to write config file"); 
    596       writeLog(e); 
    597     } 
    598     assert false;  
     595      try { 
     596        File f = new File(new Location(file).getParent(), ".bioformats"); 
     597        BufferedWriter w = new BufferedWriter(new FileWriter(f, true)); 
     598        w.write("\"" + file + "\" test=false\n"); 
     599        w.close(); 
     600        assert true;  
     601      } 
     602      catch (IOException exc) { } 
     603    } 
    599604  } 
    600605 
Note: See TracChangeset for help on using the changeset viewer.