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 d7217bd59b
commit 7e926dfa36
1 changed files with 6 additions and 0 deletions

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" );