#58516 - Rare new aioobe in 3.13 on initialization of a handful of ppts

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711381 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andreas Beeker 2015-10-29 23:22:54 +00:00
parent 9a6c48cfb2
commit a0f9da7fb6
2 changed files with 9 additions and 2 deletions

View File

@ -35,8 +35,6 @@ import java.util.List;
import java.util.Map;
import java.util.Set;
import junit.framework.AssertionFailedError;
import org.apache.poi.POIDataSamples;
import org.apache.poi.ddf.AbstractEscherOptRecord;
import org.apache.poi.ddf.EscherArrayProperty;
@ -51,11 +49,15 @@ import org.apache.poi.hslf.record.SlideListWithText;
import org.apache.poi.hslf.record.SlideListWithText.SlideAtomsSet;
import org.apache.poi.hslf.record.TextHeaderAtom;
import org.apache.poi.sl.usermodel.PictureData.PictureType;
import org.apache.poi.sl.usermodel.SlideShow;
import org.apache.poi.sl.usermodel.SlideShowFactory;
import org.apache.poi.util.LittleEndian;
import org.apache.poi.util.StringUtil;
import org.apache.poi.util.Units;
import org.junit.Test;
import junit.framework.AssertionFailedError;
/**
* Testcases for bugs entered in bugzilla
* the Test name contains the bugzilla bug id
@ -637,4 +639,9 @@ public final class TestBugs {
inputStream.close();
}
}
@Test
public void bug58516() throws IOException {
SlideShowFactory.create(_slTests.getFile("bug58516.ppt"));
}
}

Binary file not shown.