Finally enable test for bug 44937, we got the requested missing test-documents a long time ago already.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1780456 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2017-01-26 19:59:05 +00:00
parent 400bdc08b7
commit 41e52ffea7
3 changed files with 3 additions and 2 deletions

View File

@ -45,7 +45,8 @@ public final class TestHWPFPictures extends TestCase {
private String imgDFile; private String imgDFile;
@Override @Override
protected void setUp() { protected void setUp() throws Exception {
super.setUp();
docAFile = "testPictures.doc"; docAFile = "testPictures.doc";
docBFile = "two_images.doc"; docBFile = "two_images.doc";
@ -161,7 +162,7 @@ public final class TestHWPFPictures extends TestCase {
* Pending the missing files being uploaded to * Pending the missing files being uploaded to
* bug #44937 * bug #44937
*/ */
public void BROKENtestEscherDrawing() { public void testEscherDrawing() {
HWPFDocument docD = HWPFTestDataSamples.openSampleFile(docDFile); HWPFDocument docD = HWPFTestDataSamples.openSampleFile(docDFile);
List<Picture> allPictures = docD.getPicturesTable().getAllPictures(); List<Picture> allPictures = docD.getPicturesTable().getAllPictures();

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB