summaryrefslogtreecommitdiffstats
path: root/xml/src/test
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2010-05-13 12:36:25 -0700
committerElliott Hughes <enh@google.com>2010-05-13 12:49:12 -0700
commitf33eae7e84eb6d3b0f4e86b59605bb3de73009f3 (patch)
treef6cb62c04ce2669d2fa4715fbab86d38c8fca06d /xml/src/test
parentd21d78fd49a2d798218e8c8aefbddb26a0e71bbb (diff)
downloadlibcore-f33eae7e84eb6d3b0f4e86b59605bb3de73009f3.zip
libcore-f33eae7e84eb6d3b0f4e86b59605bb3de73009f3.tar.gz
libcore-f33eae7e84eb6d3b0f4e86b59605bb3de73009f3.tar.bz2
Remove all trailing whitespace from the dalvik team-maintained parts of libcore.
Gentlemen, you may now set your editors to "strip trailing whitespace"... Change-Id: I85b2f6c80e5fbef1af6cab11789790b078c11b1b
Diffstat (limited to 'xml/src/test')
-rw-r--r--xml/src/test/java/org/kxml2/io/KXmlSerializerTest.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/xml/src/test/java/org/kxml2/io/KXmlSerializerTest.java b/xml/src/test/java/org/kxml2/io/KXmlSerializerTest.java
index 01c7393..7aba746 100644
--- a/xml/src/test/java/org/kxml2/io/KXmlSerializerTest.java
+++ b/xml/src/test/java/org/kxml2/io/KXmlSerializerTest.java
@@ -29,13 +29,13 @@ import static tests.support.Support_Xml.*;
public class KXmlSerializerTest extends TestCase {
private static final String NAMESPACE = null;
-
+
private static boolean isValidXmlCodePoint(int c) {
// http://www.w3.org/TR/REC-xml/#charsets
return (c >= 0x20 && c <= 0xd7ff) || (c == 0x9) || (c == 0xa) || (c == 0xd) ||
(c >= 0xe000 && c <= 0xfffd) || (c >= 0x10000 && c <= 0x10ffff);
}
-
+
private static XmlSerializer newSerializer() throws IOException {
ByteArrayOutputStream bytesOut = new ByteArrayOutputStream();
XmlSerializer serializer = new KXmlSerializer();
@@ -43,7 +43,7 @@ public class KXmlSerializerTest extends TestCase {
serializer.startDocument("UTF-8", null);
return serializer;
}
-
+
public void testInvalidCharactersInText() throws IOException {
XmlSerializer serializer = newSerializer();
serializer.startTag(NAMESPACE, "root");
@@ -61,7 +61,7 @@ public class KXmlSerializerTest extends TestCase {
}
serializer.endTag(NAMESPACE, "root");
}
-
+
public void testInvalidCharactersInAttributeValues() throws IOException {
XmlSerializer serializer = newSerializer();
serializer.startTag(NAMESPACE, "root");
@@ -79,7 +79,7 @@ public class KXmlSerializerTest extends TestCase {
}
serializer.endTag(NAMESPACE, "root");
}
-
+
public void testInvalidCharactersInCdataSections() throws IOException {
XmlSerializer serializer = newSerializer();
serializer.startTag(NAMESPACE, "root");
@@ -97,7 +97,7 @@ public class KXmlSerializerTest extends TestCase {
}
serializer.endTag(NAMESPACE, "root");
}
-
+
public void testCdataWithTerminatorInside() throws Exception {
StringWriter writer = new StringWriter();
XmlSerializer serializer = new KXmlSerializer();