commit | b650b2f9cae5a85713dda6ab51015e8e6dcfebcb | [log] [tgz] |
---|---|---|
author | Victor Chang <vichang@google.com> | Wed Feb 24 18:35:32 2021 +0000 |
committer | Victor Chang <vichang@google.com> | Thu Feb 25 02:13:14 2021 +0000 |
tree | ea5eb9e67dd141dfc1acb890b8fa332e31eb344a | |
parent | 34c24a24b1cbc19bba9effab7dd5a8c64a55da65 [diff] |
Android patch: Modify test.java.util.concurrent.tck tests to pass on Android To add API coverage to classes, e.g. java.util.SplittableRandom A few tests are removed because they are not compiled on Android. SubmissionPublisherTest: Android has not SubmissionPublisher class TimeUnit8Test: Android doesn't have all the APIs as upstream 9+181. Atomic*9Test: Android doesn't have all the APIs as upstream 9+181 Note that test.java.util.concurrent.tck has some similiar tests as tests in libcore/jsr166-tests, but they are not strict superset or subset. Upstream apparently will add more tests over the time as *9Test are new. Test failures are added into expectations/knownfailures.txt. b/181171596 to invesigate the failures in details Bug: 119393918 Test: atest CtsLibcoreOjTestCases:test.java.util.concurrent Change-Id: I9e054a400cdebd2a2f6ee77d804bd425d804d1af