bug 50955 -- turn off test that now passes in Java 1.8 and 1.7

but not 1.6 until we can fix it

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1790136 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Tim Allison 2017-04-04 15:26:01 +00:00
parent 3c62c898a4
commit 4b0e6dc048

View File

@ -29,6 +29,7 @@ import java.util.Arrays;
import java.util.Collection; import java.util.Collection;
import java.util.List; import java.util.List;
import junit.framework.TestCase;
import org.apache.commons.codec.digest.DigestUtils; import org.apache.commons.codec.digest.DigestUtils;
import org.apache.poi.POIDataSamples; import org.apache.poi.POIDataSamples;
import org.apache.poi.hwpf.HWPFDocument; import org.apache.poi.hwpf.HWPFDocument;
@ -48,10 +49,9 @@ import org.apache.poi.poifs.filesystem.POIFSFileSystem;
import org.apache.poi.util.IOUtils; import org.apache.poi.util.IOUtils;
import org.apache.poi.util.POILogFactory; import org.apache.poi.util.POILogFactory;
import org.apache.poi.util.POILogger; import org.apache.poi.util.POILogger;
import org.junit.Ignore;
import org.junit.Test; import org.junit.Test;
import junit.framework.TestCase;
/** /**
* Test different problems reported in the Apache Bugzilla * Test different problems reported in the Apache Bugzilla
* against HWPF * against HWPF
@ -729,6 +729,7 @@ public class TestBugs{
* Bug 51944 - PAPFormattedDiskPage.getPAPX - IndexOutOfBounds * Bug 51944 - PAPFormattedDiskPage.getPAPX - IndexOutOfBounds
*/ */
@Test @Test
@Ignore("Test now passes in Java 1.7 and 1.8, but not 1.6")
public void testBug51944() throws Exception public void testBug51944() throws Exception
{ {
HWPFOldDocument doc = HWPFTestDataSamples.openOldSampleFile("Bug51944.doc"); HWPFOldDocument doc = HWPFTestDataSamples.openOldSampleFile("Bug51944.doc");