From 5e74d6bef131c2e339d213d6a37057a2f8f02984 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Sat, 18 Mar 2017 13:56:04 +0000 Subject: [PATCH] Add docm-file which is actually a binary doc to check handling of wrong-format-exceptions git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1787555 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/TestAllFiles.java | 1 + ...k_acme-rundoc-0.001_word-lib_hello_world.docm | Bin 0 -> 9216 bytes 2 files changed, 1 insertion(+) create mode 100644 test-data/document/cpansearch.perl.org_src_tobyink_acme-rundoc-0.001_word-lib_hello_world.docm diff --git a/src/integrationtest/org/apache/poi/TestAllFiles.java b/src/integrationtest/org/apache/poi/TestAllFiles.java index f69b2300da..25ac41a9be 100644 --- a/src/integrationtest/org/apache/poi/TestAllFiles.java +++ b/src/integrationtest/org/apache/poi/TestAllFiles.java @@ -255,6 +255,7 @@ public class TestAllFiles { // TODO: good to ignore? "spreadsheet/sample-beta.xlsx", + "document/cpansearch.perl.org_src_tobyink_acme-rundoc-0.001_word-lib_hello_world.docm", // This is actually a spreadsheet! "hpsf/TestRobert_Flaherty.doc", diff --git a/test-data/document/cpansearch.perl.org_src_tobyink_acme-rundoc-0.001_word-lib_hello_world.docm b/test-data/document/cpansearch.perl.org_src_tobyink_acme-rundoc-0.001_word-lib_hello_world.docm new file mode 100644 index 0000000000000000000000000000000000000000..8aa4522c45ff16b0f9ebc01975450b4f1174ea67 GIT binary patch literal 9216 zcmeI1TWnNC7=Y)r+sjs3N(&WAk<+pQa_J3<1yr_6fl@35S^-7S?FCwCcgt=YL1R)8 z6Era?@xd1oCBY{WgO_)CkSA+2MiO~35Tk|wQBY%uq3ie0+2fv;(r%XqsoB|lXRc@d zfBw0gnb~i?o^k2a$Ay>G2)9Il6WzbjzG zIIE23P3L+MPx-)Vn){hsLjm+yeg{~3@6`7je^K><7rvtbSt!dxhV zdGH9#2a#EfUjhrF@kj9&!Xj7+QltLMlLj_dA3RnqM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