Browse Source

go back to ignoring the ImageIOTest#testFailOnError() test, like it was for several years/releases before being moved from ImageTest to this new test class

master
Jaikiran Pai 3 years ago
parent
commit
42d2579645
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/tests/junit/org/apache/tools/ant/taskdefs/optional/image/ImageIOTest.java

+ 3
- 0
src/tests/junit/org/apache/tools/ant/taskdefs/optional/image/ImageIOTest.java View File

@@ -22,6 +22,7 @@ import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.BuildFileRule;
import org.apache.tools.ant.util.FileUtils;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
@@ -131,6 +132,8 @@ public class ImageIOTest {
}

@Test
@Ignore("badimage.jpg used in this test doesn't" +
" trigger failures https://bugs.openjdk.java.net/browse/JDK-8287120")
public void testFailOnError() {
final String message = "Unsupported Image Type";
thrown.expect(BuildException.class);


Loading…
Cancel
Save