Annotate some libcore tests with @NonMts, @NonCts, @LargeTest
@NonCts tests:
1. Annotate the tests in expectations/skippedCtsTest.txt.
We will generate and insert @NonCts into skippedCtsTest.txt
for the backport purpose.
2. libcore.libcore.icu.DecimalFormatDataTest
libcore.libcore.icu.SimpleDateFormatDataTest
Verified with the following commands:
- Presubmit: atest --test-mapping libcore/luni/src/main/java/libcore/icu/
- (Skipping the test) CTS: cts-tradefed run commandAndExit cts-dev -m CtsLibcoreTestCases -t libcore.libcore.icu
- MTS: mts-tradefed run commandAndExit mts -m CtsLibcoreTestCases -t libcore.libcore.icu
@NonMts ICU-versions-specific tests:
1. test.java.time.chrono.TestEraDisplayName#eraDisplayName
2. libcore.java.util.OldTimeZoneTest#test_getDisplayNameZILjava_util_Local
Verified with the following commands:
1. (Skipping the tests on S) MTS:
mts-tradefed run commandAndExit mts -m CtsLibcoreOjTestCases -t test.java.time.chrono.TestEraDisplayName
mts-tradefed run commandAndExit mts -m CtsLibcoreTestCases -t libcore.java.util.OldTimeZoneTest
2. CTS: atest CtsLibcoreTestCases:libcore.java.util.OldTimeZoneTest
atest CtsLibcoreOjTestCases:test.java.time.chrono.TestEraDisplayName
@LargeTest test:
tests.java.sql.StressTest
Verified with the following command:
1. (Skipping the test) Presubmit: atest --test-mapping libcore/ojluni/src/main/java/java/sql/
2. CTS: atest CtsLibcoreTestCases:tests.java.sql.StressTest
Bug: 287042293
Test: See the above commit message
Change-Id: I24d3b98e9e0fe254bd3cb8e357ea273491a76b91
28 files changed