TMI-107, TMI-109: And another test case covering both 107 and 109.

This commit is contained in:
Harald Kuhr 2015-03-07 13:21:26 +01:00
parent 1df74ae9e9
commit 5fb091b992
3 changed files with 2 additions and 1 deletions

View File

@ -103,7 +103,8 @@ public class JPEGImageReaderTest extends ImageReaderAbstractTestCase<JPEGImageRe
new TestData(getClassLoaderResource("/broken-jpeg/broken-bogus-segment-length.jpg"), new Dimension(467, 612)), // Semi-readable, parts missing
new TestData(getClassLoaderResource("/broken-jpeg/broken-adobe-marker-bad-length.jpg"), new Dimension(1800, 1200)), // Unreadable, segment lengths are wrong
new TestData(getClassLoaderResource("/broken-jpeg/broken-invalid-adobe-ycc-gray.jpg"), new Dimension(11, 440)), // Image readable, broken metadata (fixable?)
new TestData(getClassLoaderResource("/broken-jpeg/broken-no-sof.jpg"), new Dimension(-1, -1)) // Unreadable, can't find SOFn marker
new TestData(getClassLoaderResource("/broken-jpeg/broken-no-sof-ascii-transfer-mode.jpg"), new Dimension(-1, -1)), // Unreadable, can't find SOFn marker
new TestData(getClassLoaderResource("/broken-jpeg/broken-sos-before-sof.jpg"), new Dimension(-1, -1)) // Unreadable, can't find SOFn marker
);
// More test data in specific tests below

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB