mirror of https://github.com/apache/poi.git
add problem file to build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894359 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
005810640d
commit
787af858e7
|
@ -139,4 +139,16 @@ class TestXWPFBugs {
|
||||||
zf.close();
|
zf.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void missingXsbs() throws IOException, XmlException {
|
||||||
|
String[] files = {"bib-chernigovka.netdo.ru_download_docs_17459.docx"};
|
||||||
|
for (String f : files) {
|
||||||
|
ZipFile zf = new ZipFile(samples.getFile(f));
|
||||||
|
ZipArchiveEntry entry = zf.getEntry("word/document.xml");
|
||||||
|
DocumentDocument document = DocumentDocument.Factory.parse(zf.getInputStream(entry));
|
||||||
|
assertNotNull(document);
|
||||||
|
zf.close();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
Binary file not shown.
Loading…
Reference in New Issue