mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-03 16:47:21 -08:00
This is an almost complete rewrite. Instead of using handcrafted event-model.xml files, it extracts build-gentoo.xml files from the pom.xml files and processes them with eant(), bug #836753. It drops one patch which does no longer apply and adds three new patches, each for one unresolved test failure. verify-sig has been updated and uses the same key as batik and xmlgraphics-commons. For tests it builds core-test.jar in order to simplify the selection of tests to run. In src_install(), it uses java-pkg_dojar only for fop-util.jar and fop-events.jar while java-pkg-simple_src_install handles fop-core.jar. Bug: https://bugs.gentoo.org/977394 Closes: https://bugs.gentoo.org/836753 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Part-of: https://codeberg.org/gentoo/gentoo/pulls/62 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
31 lines
1.4 KiB
Diff
31 lines
1.4 KiB
Diff
3) standardKeyword(org.apache.fop.render.pdf.extensions.PDFDocumentInformationElementTestCase)
|
|
java.lang.AssertionError: Did not receive expected event: org.apache.fop.render.pdf.extensions.PDFExtensionEventProducer.reservedKeyword
|
|
at org.junit.Assert.fail(Assert.java:89)
|
|
at org.apache.fop.events.EventChecker.end(EventChecker.java:56)
|
|
at org.apache.fop.render.pdf.extensions.PDFDocumentInformationElementTestCase.runTest(PDFDocumentInformationElementTestCase.java:69)
|
|
at org.apache.fop.render.pdf.extensions.PDFDocumentInformationElementTestCase.standardKeyword(PDFDocumentInformationElementTestCase.java:59)
|
|
|
|
Tests were run with
|
|
openjdk-26_beta34
|
|
openjdk-25.0.2_p10
|
|
|
|
--- a/fop-core/src/test/java/org/apache/fop/render/pdf/extensions/PDFDocumentInformationElementTestCase.java
|
|
+++ b/fop-core/src/test/java/org/apache/fop/render/pdf/extensions/PDFDocumentInformationElementTestCase.java
|
|
@@ -24,6 +24,7 @@ import java.util.HashMap;
|
|
import java.util.Map;
|
|
|
|
import org.junit.Test;
|
|
+import org.junit.Ignore;
|
|
|
|
import org.apache.xmlgraphics.util.QName;
|
|
|
|
@@ -52,7 +53,7 @@ public class PDFDocumentInformationElementTestCase {
|
|
runTest("invalid-child.fo", FOValidationEventProducer.class.getName() + ".invalidChild", expectedParams);
|
|
}
|
|
|
|
- @Test
|
|
+ @Test @Ignore
|
|
public void standardKeyword() throws Exception {
|
|
Map<String, Object> expectedParams = new HashMap<String, Object>();
|
|
expectedParams.put("keyword", "Creator");
|