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:
parent
400bdc08b7
commit
41e52ffea7
@ -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();
|
||||||
|
|
||||||
|
BIN
test-data/document/GaiaTest.doc
Normal file
BIN
test-data/document/GaiaTest.doc
Normal file
Binary file not shown.
BIN
test-data/document/GaiaTestImg.png
Normal file
BIN
test-data/document/GaiaTestImg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 60 KiB |
Loading…
Reference in New Issue
Block a user