You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by se...@apache.org on 2011/07/12 10:57:05 UTC
svn commit: r1145495 -
/poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java
Author: sergey
Date: Tue Jul 12 08:57:05 2011
New Revision: 1145495
URL: http://svn.apache.org/viewvc?rev=1145495&view=rev
Log:
convert unicode string constants to \uxxx-s
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=1145495&r1=1145494&r2=1145495&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 Tue Jul 12 08:57:05 2011
@@ -41,7 +41,7 @@ public class TestWordToHtmlConverter ext
{
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 ext
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
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org