Add verifying test-case for bug 52420

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1649147 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2015-01-02 22:38:52 +00:00
parent b930f0c46c
commit d909e0998c
2 changed files with 83 additions and 74 deletions

View File

@ -252,4 +252,13 @@ public class TestWordToHtmlConverter extends POITestCase
assertContains(result, "<td class=\"td1\" colspan=\"3\">");
assertContains(result, "<td class=\"td2\" colspan=\"2\">");
}
public void testBug52420() throws Exception {
String result = getHtmlText( "52420.doc");
assertFalse(result.contains( "FORMTEXT" ));
assertContains(result, "\u0417\u0410\u0414\u0410\u041d\u0418\u0415");
assertContains(result, "\u041f\u0440\u0435\u043f\u043e\u0434\u0430\u0432\u0430\u0442\u0435\u043b\u044c");
}
}

Binary file not shown.