More tests.

This commit is contained in:
Harald Kuhr
2012-02-01 15:57:06 +01:00
parent ed441a7d6a
commit cda19ece0d
8 changed files with 110 additions and 7 deletions

View File

@@ -4,6 +4,7 @@ import com.sun.imageio.plugins.jpeg.JPEGImageReader;
import com.sun.imageio.plugins.jpeg.JPEGImageReaderSpi;
import com.twelvemonkeys.imageio.util.ImageReaderAbstractTestCase;
import com.twelvemonkeys.lang.SystemUtil;
import org.junit.Ignore;
import org.junit.Test;
import javax.imageio.IIOException;
@@ -93,13 +94,16 @@ public class JPEGImageReaderTestCase extends ImageReaderAbstractTestCase<JPEGIma
}
@Test
@Ignore("Known issue")
@Override
public void testReadAsRenderedImageIndexOutOfBounds() throws IIOException {
try {
super.testReadAsRenderedImageIndexOutOfBounds();
}
catch (IIOException expected) {
// Known bug
}
super.testReadAsRenderedImageIndexOutOfBounds();
}
@Test
@Ignore("No test data with JFIF thumbnail")
@Override
public void testNotBadCachingThumbnails() throws IOException {
super.testNotBadCachingThumbnails();
}
}