From: Sergey Vladimirov Date: Fri, 8 Jul 2011 14:37:42 +0000 (+0000) Subject: add test case to check if email from Bug47286.doc is present in HTML X-Git-Tag: REL_3_8_BETA4~253 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7e926dfa36aa9775339fa13ebca1193113fd6daf;p=poi.git add test case to check if email from Bug47286.doc is present in HTML git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144341 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 420add7454..0cee3e7e2e 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java @@ -90,6 +90,12 @@ public class TestWordToHtmlConverter extends TestCase .contains( "" ) ); } + public void testEmailhyperlink() throws Exception + { + String result = getHtmlText( "Bug47286.doc" ); + assertTrue( result.contains( "provisastpet@mfa.gov.cy" ) ); + } + public void testEquation() throws Exception { String result = getHtmlText( "equation.doc" );