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
This commit is contained in:
parent
a6978501b4
commit
0bd50defba
@ -26,13 +26,12 @@ import java.util.List;
|
|||||||
|
|
||||||
import junit.framework.TestCase;
|
import junit.framework.TestCase;
|
||||||
|
|
||||||
import org.apache.poi.hwpf.converter.WordToTextConverter;
|
|
||||||
|
|
||||||
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;
|
||||||
import org.apache.poi.hwpf.HWPFOldDocument;
|
import org.apache.poi.hwpf.HWPFOldDocument;
|
||||||
import org.apache.poi.hwpf.HWPFTestDataSamples;
|
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.Word6Extractor;
|
||||||
import org.apache.poi.hwpf.extractor.WordExtractor;
|
import org.apache.poi.hwpf.extractor.WordExtractor;
|
||||||
import org.apache.poi.hwpf.model.FieldsDocumentPart;
|
import org.apache.poi.hwpf.model.FieldsDocumentPart;
|
||||||
@ -743,4 +742,16 @@ public class TestBugs extends TestCase
|
|||||||
{
|
{
|
||||||
HWPFTestDataSamples.openSampleFile( "Bug53380_4.doc" );
|
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());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user