Ignore test on no-scratchpad run

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882664 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andreas Beeker 2020-10-19 19:51:25 +00:00
parent 7a2a057c86
commit c38a99bd07
1 changed files with 3 additions and 0 deletions

View 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"))) {