From 9c9cb2de6db637745a5919aa427ed0d19efdb823 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 1 Feb 2010 15:38:16 -0800 Subject: [PATCH] Remove @KnownFailure from tests that now pass. 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) --- .../test/java/tests/api/javax/xml/parsers/SAXParserTest.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/libcore/xml/src/test/java/tests/api/javax/xml/parsers/SAXParserTest.java b/libcore/xml/src/test/java/tests/api/javax/xml/parsers/SAXParserTest.java index 2b8bb5cba..ca7cf718e 100644 --- a/libcore/xml/src/test/java/tests/api/javax/xml/parsers/SAXParserTest.java +++ b/libcore/xml/src/test/java/tests/api/javax/xml/parsers/SAXParserTest.java @@ -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 { } } - -- 2.11.0