]> source.dussan.org Git - poi.git/commitdiff
add ignored test and triggering document for BUG 60256
authorTim Allison <tallison@apache.org>
Fri, 14 Oct 2016 13:22:23 +0000 (13:22 +0000)
committerTim Allison <tallison@apache.org>
Fri, 14 Oct 2016 13:22:23 +0000 (13:22 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1764890 13f79535-47bb-0310-9956-ffa450edef68

src/testcases/org/apache/poi/poifs/filesystem/TestOle10Native.java
test-data/poifs/60256.bin [new file with mode: 0644]

index 32f0f96ab62ad0ae0af07dc531f55ba6ce06dbfe..a8826ffad0050e28ef2bdacfe862b65f3fc9e246 100644 (file)
@@ -31,6 +31,7 @@ import java.util.List;
 
 import org.apache.poi.POIDataSamples;
 import org.apache.poi.util.IOUtils;
+import org.junit.Ignore;
 import org.junit.Test;
 
 public class TestOle10Native {
@@ -107,4 +108,12 @@ public class TestOle10Native {
             }
         }
     }
+
+    @Test
+    @Ignore("BUG 60256")
+    public void testOleNativeOOM() throws IOException, Ole10NativeException {
+        POIFSFileSystem fs = new POIFSFileSystem(dataSamples.openResourceAsStream("60256.bin"));
+        Ole10Native ole = Ole10Native.createFromEmbeddedOleObject(fs);
+    }
+
 }
diff --git a/test-data/poifs/60256.bin b/test-data/poifs/60256.bin
new file mode 100644 (file)
index 0000000..1fed50b
Binary files /dev/null and b/test-data/poifs/60256.bin differ