forked from AOSPA/android_libcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'android-14.0.0_r11' of https://android.googlesource.com/pl…
…atform/libcore into HEAD Android 14.0.0 release 11
- Loading branch information
Showing
13 changed files
with
280 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
[ | ||
{ | ||
bug: 287231726, | ||
description: "This test doesn't test public APIs.", | ||
result: EXEC_FAILED, | ||
names: [ | ||
"libcore.libcore.icu.DateIntervalFormatTest", | ||
"libcore.libcore.icu.ICUTest", | ||
"libcore.libcore.icu.LocaleDataTest", | ||
"libcore.sun.misc.SharedSecretsTest" | ||
] | ||
}, | ||
{ | ||
bug: 287231726, | ||
description: "The test asserts buggy or non-breaking behaviors, but the behavior has been fixed / changed in the future ART module version.", | ||
result: EXEC_FAILED, | ||
names: [ | ||
"libcore.java.lang.ClassTest#test_toGenericString", | ||
"libcore.java.util.CurrencyTest#test_localeExtension", | ||
"libcore.java.text.OldDecimalFormatSymbolsTest#test_RIHarmony_compatible", | ||
"libcore.java.text.OldNumberFormatTest#test_getCurrencyInstanceLjava_util_Locale", | ||
"org.apache.harmony.tests.java.util.ArrayDequeTest#test_forEachRemaining_CME", | ||
"org.apache.harmony.tests.java.util.ArrayDequeTest#test_iterator", | ||
"org.apache.harmony.tests.java.lang.Character_UnicodeBlockTest#test_ofC", | ||
"org.apache.harmony.tests.java.lang.Character_UnicodeBlockTest#test_ofI", | ||
"org.apache.harmony.tests.java.util.PriorityQueueTest#test_remove_Ljava_lang_Object_not_Compatible", | ||
"org.apache.harmony.tests.java.util.PriorityQueueTest#test_spliterator_CME", | ||
"org.apache.harmony.regex.tests.java.util.regex.PatternTest#testSplitAsStream" | ||
] | ||
}, | ||
{ | ||
bug: 287231726, | ||
description: "The test depends on locale, but manufacturers / CLDR improves the locale data over time", | ||
result: EXEC_FAILED, | ||
names: [ | ||
"libcore.java.text.DecimalFormatTest#testLocaleGroupingSeparator", | ||
"libcore.java.text.DecimalFormatTest#testSetGroupingSeparator" | ||
] | ||
}, | ||
{ | ||
bug: 286802267, | ||
description: "The test depends on internal APIs.", | ||
result: EXEC_FAILED, | ||
names: [ | ||
"test.java.time.TestClock_System#test_OffsetLimits", | ||
"test.java.time.TestClock_System#test_OffsetRegular" | ||
] | ||
}, | ||
{ | ||
bug: 286802267, | ||
description: "The test asserts buggy or non-breaking behaviors, but the behavior has been fixed / changed in the future ART module version.", | ||
result: EXEC_FAILED, | ||
names: [ | ||
"tck.java.time.TCKYear#factory_parse_fail", | ||
"tck.java.time.format.TCKDateTimeParseResolver#test_resolveAmPm" | ||
] | ||
}, | ||
{ | ||
bug: 286802267, | ||
description: "The test depends on locale, but manufacturers / CLDR improves the locale data over time", | ||
result: EXEC_FAILED, | ||
names: [ | ||
"test.java.time.format.TestUnicodeExtension#test_localizedBy", | ||
"test.java.util.TestFormatter#test" | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
test-rules/src/main/java/libcore/test/annotation/NonCts.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/* | ||
* Copyright (C) 2023 The Android Open Source Project | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package libcore.test.annotation; | ||
|
||
import java.lang.annotation.ElementType; | ||
import java.lang.annotation.Retention; | ||
import java.lang.annotation.RetentionPolicy; | ||
import java.lang.annotation.Target; | ||
|
||
/** | ||
* Test with this annotation doesn't run in CTS. | ||
* | ||
* Note that every annotation element below should be associated to a field in | ||
* {@link vogar.expect.Expectation}, because it will be de- and serialized by | ||
* {@link vogar.expect.ExpectationStore} for back-porting to an older branch. | ||
*/ | ||
@Retention(RetentionPolicy.RUNTIME) | ||
@Target({ElementType.TYPE, ElementType.METHOD}) | ||
public @interface NonCts { | ||
/** | ||
* Optional bug id showing why this test fails / shouldn't run in MTS. | ||
* | ||
* The associated field is {@link vogar.expect.Expectation#bug}. | ||
*/ | ||
long bug() default -1; | ||
|
||
/** | ||
* Reason why the test shouldn't run in CTS. | ||
* | ||
* The associated field is {@link vogar.expect.Expectation#description}. | ||
*/ | ||
String reason(); | ||
} |
41 changes: 41 additions & 0 deletions
41
test-rules/src/main/java/libcore/test/annotation/NonMts.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Copyright (C) 2023 The Android Open Source Project | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package libcore.test.annotation; | ||
|
||
import java.lang.annotation.ElementType; | ||
import java.lang.annotation.Retention; | ||
import java.lang.annotation.RetentionPolicy; | ||
import java.lang.annotation.Target; | ||
|
||
/** | ||
* Test with this annotation doesn't run in MTS. | ||
*/ | ||
@Retention(RetentionPolicy.RUNTIME) | ||
@Target({ElementType.TYPE, ElementType.METHOD}) | ||
public @interface NonMts { | ||
|
||
/** Optional bug id showing why this test fails / shouldn't run in MTS. */ | ||
long bug() default -1; | ||
|
||
/** Reason why the test shouldn't run in MTS. */ | ||
String reason(); | ||
|
||
/** | ||
* If this value is specified, the test will run on Sdk version equal to or above this value. | ||
*/ | ||
int disabledUntilSdk() default Integer.MAX_VALUE; | ||
} |
Oops, something went wrong.