You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-java/fop/files/fop-2.8-skip-failing-tests....

49 lines
2.0 KiB

# https://bugs.gentoo.org/903880
--- a/fop-core/src/test/java/org/apache/fop/accessibility/fo/FO2StructureTreeConverterTestCase.java
+++ b/fop-core/src/test/java/org/apache/fop/accessibility/fo/FO2StructureTreeConverterTestCase.java
@@ -43,6 +43,7 @@ import javax.xml.transform.stream.StreamSource;
import org.custommonkey.xmlunit.Diff;
import org.junit.Test;
+import org.junit.Ignore;
import org.w3c.dom.Document;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.AttributesImpl;
@@ -144,7 +145,7 @@ public class FO2StructureTreeConverterTestCase {
assertNull(d.getStructureTreeEventHandler().startNode("table-body", null, null));
}
- @Test
+ @Test @Ignore
public void testRemoveBlocks() throws Exception {
keepEmptyTags = false;
compare("<fo:root xmlns:fo=\"http://www.w3.org/1999/XSL/Format\">\n"
@@ -180,7 +181,7 @@ public class FO2StructureTreeConverterTestCase {
+ "</structure-tree-sequence>\n");
}
- @Test
+ @Test @Ignore
public void testRemoveTableHeader() throws Exception {
keepEmptyTags = false;
String fo = IOUtils.toString(getResource("table-artifact.fo"), "utf8").replace("role=\"artifact\"", "");
--- a/fop-core/src/test/java/org/apache/fop/render/pdf/PDFEncodingTestCase.java
+++ b/fop-core/src/test/java/org/apache/fop/render/pdf/PDFEncodingTestCase.java
@@ -25,6 +25,7 @@ import java.io.File;
import java.io.IOException;
import org.junit.Test;
+import org.junit.Ignore;
import org.xml.sax.SAXException;
import static org.junit.Assert.assertEquals;
@@ -61,7 +62,7 @@ public class PDFEncodingTestCase extends BasePDFTest {
* Test using a standard FOP font
* @throws Exception checkstyle wants a comment here, even a silly one
*/
- @Test
+ @Test @Ignore
public void testPDFEncodingWithStandardFont() throws Exception {
/* If the PDF encoding is correct, a text dump of the generated PDF file contains this (excerpts)