Skip to content

Commit

Permalink
testSaneUsedFiles: exclude readers with getCurrentFile/used file mism…
Browse files Browse the repository at this point in the history
…atch

This approach will allow to incrementally work through each reader
and re-include them in the getCurrentFile/getUsedFiles test
  • Loading branch information
sbesson committed Nov 2, 2024
1 parent 35fdbb3 commit 337cbef
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions components/test-suite/src/loci/tests/testng/FormatReaderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -1866,9 +1866,19 @@ public void testSaneUsedFiles() {
msg = "Used files list contains duplicates";
}

if (!base[0].equals(file)) {
if (!(reader.getFormat().equals("Bio-Rad PIC")) &&
!(reader.getFormat().equals("Metamorph STK")) &&
!(reader.getFormat().equals("Evotec Flex")) &&
!(reader.getFormat().equals("CellSens VSI")) &&
!(reader.getFormat().equals("PerkinElmer")) &&
!(reader.getFormat().equals("Fuji LAS 3000")) &&
!(reader.getFormat().equals("Micro-Manager")) &&
!(reader.getFormat().equals("BDVReader")) &&
!(reader.getFormat().equals("Zeiss AxioVision TIFF")) &&
!(reader.getFormat().equals("Olympus ScanR")) &&
!base[0].equals(file)) {
success = false;
msg = "Used files does not start with getCurrentFile";
msg = "Used files list does not start with getCurrentFile";
}

if (success) {
Expand Down

0 comments on commit 337cbef

Please sign in to comment.