poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ser...@apache.org
Subject svn commit: r1144341 - /poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java
Date Fri, 08 Jul 2011 14:37:43 GMT
Author: sergey
Date: Fri Jul  8 14:37:42 2011
New Revision: 1144341

URL: http://svn.apache.org/viewvc?rev=1144341&view=rev
Log:
add test case to check if email from Bug47286.doc is present in HTML

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

Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java?rev=1144341&r1=1144340&r2=1144341&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java
(original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java
Fri Jul  8 14:37:42 2011
@@ -90,6 +90,12 @@ public class TestWordToHtmlConverter ext
                 .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" );



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message