OSDN Git Service

Remove @KnownFailure from tests that now pass.
authorElliott Hughes <enh@google.com>
Mon, 1 Feb 2010 23:38:16 +0000 (15:38 -0800)
committerElliott Hughes <enh@google.com>
Mon, 1 Feb 2010 23:38:16 +0000 (15:38 -0800)
One of these tests still doesn't pass, but for a different reason know the
known failure is fixed, so I've removed that test's annotation too:

16) test_parseLjava_io_InputStreamLorg_xml_sax_helpers_DefaultHandlerLjava_lang_String(tests.api.javax.xml.parsers.SAXParserTest)junit.framework.AssertionFailedError
at tests.api.javax.xml.parsers.SAXParserTest.test_parseLjava_io_InputStreamLorg_xml_sax_helpers_DefaultHandlerLjava_lang_String(SAXParserTest.java:680)
at java.lang.reflect.Method.invokeNative(Native Method)
at com.google.coretests.CoreTestRunnable.runInternally(CoreTestRunnable.java:129)
at com.google.coretests.CoreTestRunnable.run(CoreTestRunnable.java:92)
at com.google.coretests.CoreTestResult.runProtected(CoreTestResult.java:148)
at com.google.coretests.CoreTestSuite.run(CoreTestSuite.java:278)
at com.google.coretests.CoreTestRunner.doRun(CoreTestRunner.java:141)
at com.google.coretests.CoreTestRunner.start(CoreTestRunner.java:317)
at com.google.coretests.CoreTestRunner.main(CoreTestRunner.java:110)
at com.google.coretests.Main.main(Main.java:45)
at dalvik.system.NativeStart.main(Native Method)

libcore/xml/src/test/java/tests/api/javax/xml/parsers/SAXParserTest.java

index 2b8bb5c..ca7cf71 100644 (file)
@@ -347,8 +347,6 @@ public class SAXParserTest extends TestCase {
         method = "parse",
         args = {java.io.File.class, org.xml.sax.helpers.DefaultHandler.class}
     )
-    @KnownFailure("The default handler doesn't get the qName value supplied. " +
-            "We either need to change the test, or fix the parser.")
     public void test_parseLjava_io_FileLorg_xml_sax_helpers_DefaultHandler()
     throws Exception {
 
@@ -456,8 +454,6 @@ public class SAXParserTest extends TestCase {
         method = "parse",
         args = {org.xml.sax.InputSource.class, org.xml.sax.helpers.DefaultHandler.class}
     )
-    @KnownFailure("The default handler doesn't get the qName value supplied. " +
-            "We either need to change the test, or fix the parser.")
     public void test_parseLorg_xml_sax_InputSourceLorg_xml_sax_helpers_DefaultHandler()
     throws Exception {
 
@@ -623,8 +619,6 @@ public class SAXParserTest extends TestCase {
         method = "parse",
         args = {java.io.InputStream.class, org.xml.sax.helpers.DefaultHandler.class}
     )
-    @KnownFailure("The default handler doesn't get the qName value supplied. " +
-            "We either need to change the test, or fix the parser.")
     public void test_parseLjava_io_InputStreamLorg_xml_sax_helpers_DefaultHandler()
     throws Exception {
 
@@ -675,8 +669,6 @@ public class SAXParserTest extends TestCase {
         method = "parse",
         args = {java.io.InputStream.class, org.xml.sax.helpers.DefaultHandler.class, java.lang.String.class}
     )
-    @KnownFailure("The default handler doesn't get the qName value supplied. " +
-            "We either need to change the test, or fix the parser.")
     public void test_parseLjava_io_InputStreamLorg_xml_sax_helpers_DefaultHandlerLjava_lang_String() {
         for(int i = 0; i < list_wf.length; i++) {
             try {
@@ -952,8 +944,6 @@ public class SAXParserTest extends TestCase {
         method = "parse",
         args = {java.lang.String.class, org.xml.sax.helpers.DefaultHandler.class}
     )
-    @KnownFailure("The default handler doesn't get the qName value supplied. " +
-            "We either need to change the test, or fix the parser.")
     public void test_parseLjava_lang_StringLorg_xml_sax_helpers_DefaultHandler()
     throws Exception {
 
@@ -1174,4 +1164,3 @@ public class SAXParserTest extends TestCase {
     }
     
 }
-