From c38a99bd07b18d95b0058b41f3c7361952f28f37 Mon Sep 17 00:00:00 2001 From: Andreas Beeker Date: Mon, 19 Oct 2020 19:51:25 +0000 Subject: [PATCH] Ignore test on no-scratchpad run git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882664 13f79535-47bb-0310-9956-ffa450edef68 --- .../testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java index ffb67bf717..4627620bfb 100644 --- a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java +++ b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java @@ -114,6 +114,7 @@ import org.apache.poi.xssf.streaming.SXSSFWorkbook; import org.apache.poi.xssf.usermodel.extensions.XSSFCellFill; import org.apache.xmlbeans.XmlException; import org.junit.Assert; +import org.junit.Assume; import org.junit.Ignore; import org.junit.Test; import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTCalcCell; @@ -3581,6 +3582,8 @@ public final class TestXSSFBugs extends BaseTestBugzillaIssues { @Test public void testXLSXinPPT() throws Exception { + Assume.assumeFalse(Boolean.getBoolean("scratchpad.ignore")); + try (SlideShow ppt = SlideShowFactory.create( POIDataSamples.getSlideShowInstance().openResourceAsStream("testPPT_oleWorkbook.ppt"))) { -- 2.39.5