Skip to content

Commit

Permalink
Sort members
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Mar 9, 2024
1 parent ab8fb80 commit aae6142
Showing 1 changed file with 14 additions and 14 deletions.
Expand Up @@ -54,6 +54,20 @@ public void test() throws Exception {
}
}

@Test
public void testReadAllImages() throws Exception {
// same as above, but test read all Images
for (final File imageFile : getTiffImages()) {
// the "bad offsets" file will cause an exception to be thrown.
// It's not relevant to what this test is trying to discover.
// So skip it.
if (imageFile.getName().toLowerCase().contains("bad")) {
continue;
}
assertFalse(Imaging.getAllBufferedImages(imageFile).isEmpty());
}
}

@Test
public void testReadDirectories() throws Exception {
// same as above, but test reading the TIFF directories
Expand All @@ -72,18 +86,4 @@ public void testReadDirectories() throws Exception {
assertNotNull(contents);
}
}

@Test
public void testReadAllImages() throws Exception {
// same as above, but test read all Images
for (final File imageFile : getTiffImages()) {
// the "bad offsets" file will cause an exception to be thrown.
// It's not relevant to what this test is trying to discover.
// So skip it.
if (imageFile.getName().toLowerCase().contains("bad")) {
continue;
}
assertFalse(Imaging.getAllBufferedImages(imageFile).isEmpty());
}
}
}

0 comments on commit aae6142

Please sign in to comment.