File: ignoring_test_in_TestPPTXRendering.patch

package info (click to toggle)
libpdfbox-graphics2d-java 0.43-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,880 kB
  • sloc: java: 6,704; xml: 257; makefile: 7
file content (27 lines) | stat: -rw-r--r-- 1,083 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: ignoring a test, following upstream's advice
 This test is failing for reasons due to classpath and will anyway be removed
 by upstream in a close future. According to upstream, it is not necessary at
 all.
Author: Pierre Gruet <pgt@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1011730
Forwarded: not-needed
Last-Update: 2022-05-31

--- a/extended-tests/src/test/java/de/rototor/pdfbox/graphics2d/extendedtests/pptx/TestPPTXRendering.java
+++ b/extended-tests/src/test/java/de/rototor/pdfbox/graphics2d/extendedtests/pptx/TestPPTXRendering.java
@@ -10,6 +10,7 @@
 import org.apache.poi.openxml4j.opc.OPCPackage;
 import org.apache.poi.xslf.usermodel.XMLSlideShow;
 import org.apache.poi.xslf.usermodel.XSLFSlide;
+import org.junit.Ignore;
 import org.junit.Test;
 
 import java.io.File;
@@ -20,6 +21,7 @@
 
 public class TestPPTXRendering {
 
+        @Ignore("Failing due to classpath issues with POI")
 	@Test
 	public void testPPTXRendering() throws IOException, InvalidFormatException {
 		File parentDir = new File("target/test/pptx");