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
This commit is contained in:
Sergey Vladimirov 2011-07-08 14:37:42 +00:00
parent dcf5427b8a
commit 026ef97694

View File

@ -90,6 +90,12 @@ public class TestWordToHtmlConverter extends TestCase
.contains( "<meta content=\"This is document keywords\" name=\"keywords\">" ) ); .contains( "<meta content=\"This is document keywords\" name=\"keywords\">" ) );
} }
public void testEmailhyperlink() throws Exception
{
String result = getHtmlText( "Bug47286.doc" );
assertTrue( result.contains( "provisastpet@mfa.gov.cy" ) );
}
public void testEquation() throws Exception public void testEquation() throws Exception
{ {
String result = getHtmlText( "equation.doc" ); String result = getHtmlText( "equation.doc" );