poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ser...@apache.org
Subject svn commit: r1150600 - /poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java
Date Mon, 25 Jul 2011 09:02:53 GMT
Author: sergey
Date: Mon Jul 25 09:02:53 2011
New Revision: 1150600

URL: http://svn.apache.org/viewvc?rev=1150600&view=rev
Log:
add test case of processing of Bug47286.doc by Word-to-HTML converter

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=1150600&r1=1150599&r2=1150600&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
Mon Jul 25 09:02:53 2011
@@ -120,6 +120,16 @@ public class TestWordToHtmlConverter ext
         assertContains( result, substring );
     }
 
+    public void testBug47286() throws Exception
+    {
+        String result = getHtmlText( "Bug47286.doc" );
+
+        assertFalse( result.contains( "FORMTEXT" ) );
+
+        assertContains( result, "Passport No and the date of expire" );
+        assertContains( result, "mfa.gov.cy" );
+    }
+
     public void testBug48075() throws Exception
     {
         getHtmlText( "Bug48075.doc" );



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


Mime
View raw message