mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
[bug-66263] add test case to try to get extra classes into poi-ooxml-lite
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904079 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e23d96a6ad
commit
af6bc9660f
@ -496,4 +496,13 @@ class TestXWPFWordExtractor {
|
|||||||
assertContains(txt, "but a great-looking résumé doesn’t have to be!");
|
assertContains(txt, "but a great-looking résumé doesn’t have to be!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void testTika3816() throws IOException {
|
||||||
|
try (XWPFDocument doc = XWPFTestDataSamples.openSampleDocument("tika-3816.docx");
|
||||||
|
XWPFWordExtractor extractor = new XWPFWordExtractor(doc)) {
|
||||||
|
String txt = extractor.getText();
|
||||||
|
assertContains(txt, "Note\tDetails");
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
test-data/document/tika-3816.docx
Normal file
BIN
test-data/document/tika-3816.docx
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user