]> source.dussan.org Git - poi.git/commitdiff
add test case to check if email from Bug47286.doc is present in HTML
authorSergey Vladimirov <sergey@apache.org>
Fri, 8 Jul 2011 14:37:42 +0000 (14:37 +0000)
committerSergey Vladimirov <sergey@apache.org>
Fri, 8 Jul 2011 14:37:42 +0000 (14:37 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144341 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java

index 420add745475f19f9e0e79a2fbafb07a2c02e7a8..0cee3e7e2e87dba97583977e1c1177cfe3a31c8e 100644 (file)
@@ -90,6 +90,12 @@ public class TestWordToHtmlConverter extends TestCase
                 .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
     {
         String result = getHtmlText( "equation.doc" );