aboutsummaryrefslogtreecommitdiffstats
path: root/common/tests
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2012-01-20 09:04:39 -0800
committerTor Norbye <tnorbye@google.com>2012-01-20 09:04:39 -0800
commit003bbf816cceb6fa6dbfbc0f76fcbecdfa6d987d (patch)
tree3de698dd0257b486a5c3f3265ea680ceca966045 /common/tests
parent5691515993f8ae3de869a64f181f2471ee55529d (diff)
downloadsdk-003bbf816cceb6fa6dbfbc0f76fcbecdfa6d987d.zip
sdk-003bbf816cceb6fa6dbfbc0f76fcbecdfa6d987d.tar.gz
sdk-003bbf816cceb6fa6dbfbc0f76fcbecdfa6d987d.tar.bz2
Replace unit test unicode chars with unicode escape chars
Change-Id: I37a4f3a9d9d8fd7870f08e56a595b52d7ff89add
Diffstat (limited to 'common/tests')
-rw-r--r--common/tests/src/com/android/util/PositionXmlParserTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/tests/src/com/android/util/PositionXmlParserTest.java b/common/tests/src/com/android/util/PositionXmlParserTest.java
index 45cc30c..1573c90 100644
--- a/common/tests/src/com/android/util/PositionXmlParserTest.java
+++ b/common/tests/src/com/android/util/PositionXmlParserTest.java
@@ -129,7 +129,8 @@ public class PositionXmlParserTest extends TestCase {
private static void checkEncoding(String encoding, boolean writeBom, boolean writeEncoding,
String lineEnding)
throws Exception {
- String value = "¾¿Œ";
+ // Norwegian extra vowel characters such as "latin small letter a with ring above"
+ String value = "\u00e6\u00d8\u00e5";
StringBuilder sb = new StringBuilder();
sb.append("<?xml version=\"1.0\"");