mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
[bug-66612] get macrosheet xml (test)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909995 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b5153f1395
commit
bc035b1aff
@ -344,6 +344,14 @@ public final class TestXSSFReader {
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
void test66612() throws Exception {
|
||||
try (OPCPackage pkg = OPCPackage.open(_ssTests.openResourceAsStream("xlmmacro.xlsm"))) {
|
||||
XSSFReader reader = new XSSFReader(pkg);
|
||||
assertEquals("OCHSA0XBnVkZrG5OECromBJH43QoLIEZLit3eDix+rs=", hash(reader));
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
void testStrictOoxmlNotAllowed() throws Exception {
|
||||
assertThrows(POIXMLException.class, () -> {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user