From 920e0ee72f33d7cffb6b566a6f283bc4ad665188 Mon Sep 17 00:00:00 2001 From: Sergey Vladimirov Date: Tue, 12 Jul 2011 08:57:05 +0000 Subject: [PATCH] convert unicode string constants to \uxxx-s git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145495 13f79535-47bb-0310-9956-ffa450edef68 --- .../poi/hwpf/converter/TestWordToHtmlConverter.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java b/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java index 598b734ed..1537ad59d 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java @@ -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