From: Sergey Vladimirov Date: Mon, 25 Jul 2011 09:02:53 +0000 (+0000) Subject: add test case of processing of Bug47286.doc by Word-to-HTML converter X-Git-Tag: REL_3_8_BETA4~81 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6fb017ee9c3f611cad45d39b3fccbc2290601ec0;p=poi.git add test case of processing of Bug47286.doc by Word-to-HTML converter git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150600 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java b/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java index b6b70fcc0a..83b1236498 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java @@ -120,6 +120,16 @@ public class TestWordToHtmlConverter extends TestCase assertContains( result, substring ); } + public void testBug47286() throws Exception + { + String result = getHtmlText( "Bug47286.doc" ); + + assertFalse( result.contains( "FORMTEXT" ) ); + + assertContains( result, "Passport No and the date of expire" ); + assertContains( result, "mfa.gov.cy" ); + } + public void testBug48075() throws Exception { getHtmlText( "Bug48075.doc" );