]> source.dussan.org Git - poi.git/commitdiff
Ignore test on no-scratchpad run
authorAndreas Beeker <kiwiwings@apache.org>
Mon, 19 Oct 2020 19:51:25 +0000 (19:51 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Mon, 19 Oct 2020 19:51:25 +0000 (19:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882664 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java

index ffb67bf717271c73f1b177d77ac25e0a5ec7481f..4627620bfb2e4713413f3badf3dcc70d621d4ec6 100644 (file)
@@ -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"))) {