You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2011/04/08 13:26:21 UTC
svn commit: r1090205 -
/commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/XmlStreamReaderUtilitiesTest.java
Author: sebb
Date: Fri Apr 8 11:26:21 2011
New Revision: 1090205
URL: http://svn.apache.org/viewvc?rev=1090205&view=rev
Log:
Not thrown
Modified:
commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/XmlStreamReaderUtilitiesTest.java
Modified: commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/XmlStreamReaderUtilitiesTest.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/XmlStreamReaderUtilitiesTest.java?rev=1090205&r1=1090204&r2=1090205&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/XmlStreamReaderUtilitiesTest.java (original)
+++ commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/XmlStreamReaderUtilitiesTest.java Fri Apr 8 11:26:21 2011
@@ -44,7 +44,7 @@ public class XmlStreamReaderUtilitiesTes
}
/** Test for {@link XmlStreamReader#getContentTypeEncoding(String)}. */
- public void testContentTypeEncoding() throws IOException {
+ public void testContentTypeEncoding() {
checkContentTypeEncoding(null, null);
checkContentTypeEncoding(null, "");
checkContentTypeEncoding(null, "application/xml");
@@ -62,7 +62,7 @@ public class XmlStreamReaderUtilitiesTes
}
/** Test for {@link XmlStreamReader#getContentTypeEncoding(String)}. */
- public void testContentTypeMime() throws IOException {
+ public void testContentTypeMime() {
checkContentTypeMime(null, null);
checkContentTypeMime("", "");
checkContentTypeMime("application/xml", "application/xml");
@@ -74,7 +74,7 @@ public class XmlStreamReaderUtilitiesTes
}
/** Test for {@link XmlStreamReader#isAppXml(String)}. */
- public void testAppXml() throws IOException {
+ public void testAppXml() {
checkAppXml(false, null);
checkAppXml(false, "");
checkAppXml(true, "application/xml");
@@ -93,7 +93,7 @@ public class XmlStreamReaderUtilitiesTes
}
/** Test for {@link XmlStreamReader#isTextXml(String)}. */
- public void testTextXml() throws IOException {
+ public void testTextXml() {
checkTextXml(false, null);
checkTextXml(false, "");
checkTextXml(true, "text/xml");