convert unicode string constants to \uxxx-s

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145495 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2011-07-12 08:57:05 +00:00
parent bca6a91735
commit 738c14f24f
1 changed files with 6 additions and 3 deletions

View File

@ -41,7 +41,7 @@ public class TestWordToHtmlConverter extends TestCase
{
if ( !result.contains( substring ) )
fail( "Substring \"" + substring
+ "\" not found in the following string: \"" + substring
+ "\" not found in the following string: \"" + result
+ "\"" );
}
@ -80,8 +80,11 @@ public class TestWordToHtmlConverter extends TestCase
public void testBug33519() throws Exception
{
String result = getHtmlText( "Bug33519.doc" );
assertContains( result, "Планински турове" );
assertContains( result, "Явор Асенов" );
assertContains(
result,
"\u041F\u043B\u0430\u043D\u0438\u043D\u0441\u043A\u0438 \u0442\u0443\u0440\u043E\u0432\u0435" );
assertContains( result,
"\u042F\u0432\u043E\u0440 \u0410\u0441\u0435\u043D\u043E\u0432" );
}
public void testBug46610_2() throws Exception