aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/xmlgraphics-commons/files/disable-iccprofile-test.patch')
-rw-r--r--dev-java/xmlgraphics-commons/files/disable-iccprofile-test.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/dev-java/xmlgraphics-commons/files/disable-iccprofile-test.patch b/dev-java/xmlgraphics-commons/files/disable-iccprofile-test.patch
deleted file mode 100644
index 6d226e6e1..000000000
--- a/dev-java/xmlgraphics-commons/files/disable-iccprofile-test.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-Description: This test fails with openjdk-7 (and oracle java 7).
- Skip for the time being until upstream resolve - see Bug.
-Author: James Page <james.page@ubuntu.com>
-Bug: https://issues.apache.org/bugzilla/show_bug.cgi?id=53328
-
-Index: xmlgraphics-commons/test/java/org/apache/xmlgraphics/image/loader/ImageLoaderTestCase.java
-===================================================================
---- xmlgraphics-commons.orig/test/java/org/apache/xmlgraphics/image/loader/ImageLoaderTestCase.java 2012-05-30 17:12:37.000324000 +0100
-+++ xmlgraphics-commons/test/java/org/apache/xmlgraphics/image/loader/ImageLoaderTestCase.java 2012-05-30 17:13:03.184417043 +0100
-@@ -159,28 +159,6 @@
- sessionContext.checkAllStreamsClosed();
- }
-
-- public void testICCProfiles() throws Exception {
-- MyImageSessionContext sessionContext = createImageSessionContext();
-- List/* <ICC_Profile> */profiles = new ArrayList();
--
-- runReaders(profiles, sessionContext, "iccTest.png", "image/png",
-- ImageFlavor.RAW_PNG);
-- runReaders(profiles, sessionContext, "iccTest.jpg", "image/jpeg",
-- ImageFlavor.RAW_JPEG);
--
-- ICC_Profile first = (ICC_Profile) profiles.get(0);
-- byte[] firstData = first.getData();
-- for (int i = 1; i < profiles.size(); i++) {
-- ICC_Profile icc = (ICC_Profile) profiles.get(i);
-- byte[] data = icc.getData();
-- assertEquals("Embedded ICC Profiles are not the same size!",
-- firstData.length, data.length);
-- for (int j = 0; j < firstData.length; j++) {
-- assertEquals("Embedded ICC Profiles differ at index " + j,
-- firstData[j], data[j]);
-- }
-- }
-- }
-
- private void runReaders(List profiles, ImageSessionContext isc, String uri,
- String mime, ImageFlavor rawFlavor) throws Exception {