diff options
4 files changed, 9 insertions, 0 deletions
diff --git a/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/LogManagerTest.java b/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/LogManagerTest.java index 4768837..7fa258b 100644 --- a/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/LogManagerTest.java +++ b/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/LogManagerTest.java @@ -35,6 +35,7 @@ import java.util.logging.LogRecord; import java.util.logging.Logger; import java.util.logging.LoggingPermission; +import dalvik.annotation.KnownFailure; import junit.framework.TestCase; import org.apache.harmony.logging.tests.java.util.logging.HandlerTest.NullOutputStream; @@ -837,6 +838,7 @@ public class LogManagerTest extends TestCase { assertNull(m.getProperty("java.util.logging.FileHandler.pattern")); } + @KnownFailure("We're ignoring a missing logging.properties. See bug 2487364") public void testReadConfiguration() throws SecurityException, IOException { diff --git a/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/LoggerTest.java b/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/LoggerTest.java index f2bd62d..7bf74e4 100644 --- a/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/LoggerTest.java +++ b/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/LoggerTest.java @@ -32,6 +32,7 @@ import java.util.logging.LoggingPermission; import java.io.File; import java.io.FileInputStream; +import dalvik.annotation.KnownFailure; import junit.framework.TestCase; import org.apache.harmony.logging.tests.java.util.logging.util.EnvironmentHelper; @@ -4639,6 +4640,7 @@ public class LoggerTest extends TestCase { method = "initHandler", args = {} ) + @KnownFailure("This test doesn't load its resources properly") public void test_initHandler() throws Exception { File logProps = new File(LOGGING_CONFIG_FILE); LogManager lm = LogManager.getLogManager(); diff --git a/security/src/test/java/tests/security/permissions/JavaIoFileTest.java b/security/src/test/java/tests/security/permissions/JavaIoFileTest.java index 7bc6933..207bfc0 100644 --- a/security/src/test/java/tests/security/permissions/JavaIoFileTest.java +++ b/security/src/test/java/tests/security/permissions/JavaIoFileTest.java @@ -22,6 +22,7 @@ import java.io.FilenameFilter; import java.io.IOException; import java.security.Permission; +import dalvik.annotation.KnownFailure; import junit.framework.TestCase; import dalvik.annotation.TestLevel; import dalvik.annotation.TestTargetClass; @@ -431,6 +432,7 @@ public class JavaIoFileTest extends TestCase { args = {} ) }) + @KnownFailure("We need to finish cleaning up java.io.File (bug 2281992)") public void test_File4() throws IOException { class TestSecurityManager extends SecurityManager { boolean checkPropertyAccessCalled; @@ -487,6 +489,7 @@ public class JavaIoFileTest extends TestCase { args = {} ) }) + @KnownFailure("We need to finish cleaning up java.io.File (bug 2281992)") public void test_File5() throws IOException { class TestSecurityManager extends SecurityManager { boolean checkPropertyAccessCalled; diff --git a/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/DriverManagerTest.java b/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/DriverManagerTest.java index d53f078..6fa7949 100644 --- a/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/DriverManagerTest.java +++ b/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/DriverManagerTest.java @@ -372,6 +372,7 @@ public class DriverManagerTest extends TestCase { method = "getDrivers", args = {} ) + @KnownFailure("We're working out issues with built-in SQL drivers") public void testGetDrivers() { // Load a driver manager Enumeration<Driver> driverList = DriverManager.getDrivers(); @@ -716,6 +717,7 @@ public class DriverManagerTest extends TestCase { /** * Regression for HARMONY-4303 */ + @KnownFailure("The test doesn't fork the VM properly.") public void test_initClass() throws Exception { ProcessBuilder builder = javaProcessBuilder(); builder.command().add("org/apache/harmony/sql/tests/java/sql/TestMainForDriver"); |