From: Nick Burch Date: Thu, 9 Oct 2014 17:58:47 +0000 (+0000) Subject: Add a disabled unit test for bug #56880 X-Git-Tag: REL_3_11_BETA3~64 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a654994715472fc145a92dd0a21aff54fbdd96e1;p=poi.git Add a disabled unit test for bug #56880 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1630543 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java b/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java index 09b0226105..5f0a7ee288 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java @@ -26,13 +26,12 @@ import java.util.List; import junit.framework.TestCase; -import org.apache.poi.hwpf.converter.WordToTextConverter; - import org.apache.commons.codec.digest.DigestUtils; import org.apache.poi.POIDataSamples; import org.apache.poi.hwpf.HWPFDocument; import org.apache.poi.hwpf.HWPFOldDocument; import org.apache.poi.hwpf.HWPFTestDataSamples; +import org.apache.poi.hwpf.converter.WordToTextConverter; import org.apache.poi.hwpf.extractor.Word6Extractor; import org.apache.poi.hwpf.extractor.WordExtractor; import org.apache.poi.hwpf.model.FieldsDocumentPart; @@ -743,4 +742,16 @@ public class TestBugs extends TestCase { HWPFTestDataSamples.openSampleFile( "Bug53380_4.doc" ); } + + /** + * java.lang.UnsupportedOperationException: Non-extended character + * Pascal strings are not supported right now + * + * Disabled pending a fix for the bug + */ + public void DISABLEDtest56880() throws Exception { + HWPFDocument doc = + HWPFTestDataSamples.openSampleFile("56880.doc"); + assertEquals("Check Request", doc.getRange().text()); + } }