From 3b24d91a6c079234f36ca5cbf862eb975cd5fb4a Mon Sep 17 00:00:00 2001 From: Neil Fuller Date: Mon, 1 Sep 2014 14:46:04 +0100 Subject: Suppress broken apache-harmony logging CTS tests Add test suppression entries for differences known to be caused by Android changes and failures that involve java code fixes. Some failures are the result of the test code being newer than the libcore code. Android took its last libcore update from apache-harmony some time after r820767 but before r929953 and its test-code update at r1097236. This explains a few things. java package fixes will be applied via a separate commit. Bug: 13882147 Change-Id: Ie5f3d1e5bb80a6aa8e3341a3bceacc65a58b2ca3 --- expectations/knownfailures.txt | 49 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) (limited to 'expectations') diff --git a/expectations/knownfailures.txt b/expectations/knownfailures.txt index 12b30cf..9df8612 100644 --- a/expectations/knownfailures.txt +++ b/expectations/knownfailures.txt @@ -1377,6 +1377,55 @@ ] }, { + description: "java.util.logging: Android introduced config fallback behavior in LogManager.readConfiguration()", + bug: 13882147, + names: [ + "com.android.org.apache.harmony.logging.tests.java.util.logging.LogManagerTest#testNotExistConfigFile", + "com.android.org.apache.harmony.logging.tests.java.util.logging.LoggerTest#testGetLogger_Empty", + "com.android.org.apache.harmony.logging.tests.java.util.logging.LoggerTest#testGetLogger_Null", + "com.android.org.apache.harmony.logging.tests.java.util.logging.LoggerTest#testGetLoggerWithRes_InvalidRes", + "com.android.org.apache.harmony.logging.tests.java.util.logging.LoggerTest#testGetLoggerWithRes_Empty" + ] +}, +{ + description: "java.util.logging: Android's user.home system property cannot be cleared", + bug: 13882147, + names: [ + "com.android.org.apache.harmony.logging.tests.java.util.logging.FileHandlerTest#testConstructor_NoUsrHome", + "com.android.org.apache.harmony.logging.tests.java.util.logging.FileHandlerTest#testConstructor_NoTmpDir_NoUsrHome" + ] +}, +{ + description: "java.util.logging: Android's user.home system property points to root (/) dir", + bug: 13882147, + name: "com.android.org.apache.harmony.logging.tests.java.util.logging.FileHandlerTest#testConstructor_NoTmpDir" +}, +{ + description: "java.util.logging: The defaults for FileHandler don't work on Android because they try to write to the read-only user.home dir", + bug: 13882147, + name: "com.android.org.apache.harmony.logging.tests.java.util.logging.FileHandlerTest#testDefaultValue" +}, +{ + description: "java.util.logging: Android's classes have been stubbed in places.", + bug: 13882147, + names: [ + "com.android.org.apache.harmony.logging.tests.java.util.logging.LogManagerTest#testGetLoggingMXBean" + ] +}, +{ + description: "java.util.logging: the serialized form references org.apache not com.android.org.apache", + bug: 13882147, + name: "com.android.org.apache.harmony.logging.tests.java.util.logging.LevelTest#testSerializationCompatibility" +}, +{ + description: "java.util.logging: Tests that require java.util.logging code changes to fix.", + bug: 13882147, + names: [ + "com.android.org.apache.harmony.logging.tests.java.util.logging.SocketHandlerTest#testConstructor_NoProperties", + "com.android.org.apache.harmony.logging.tests.java.util.logging.XMLFormatterTest#test_TestFileHandlerClass_constructor" + ] +}, +{ description: "Known failure in GregorianCalendarTest", bug: 12778197, name: "org.apache.harmony.tests.java.util.GregorianCalendarTest#test_computeTime" -- cgit v1.1