From 026ef97694e9d7e5200aa700a67c14776af777ff Mon Sep 17 00:00:00 2001 From: Sergey Vladimirov Date: Fri, 8 Jul 2011 14:37:42 +0000 Subject: [PATCH] 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 --- .../apache/poi/hwpf/converter/TestWordToHtmlConverter.java | 6 ++++++ 1 file changed, 6 insertions(+) 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 420add745..0cee3e7e2 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" );