| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding tests to cover the following APIs:
java.util.concurrent.locks.AbstractQueuedLongSynchronizer.hasQueuedPredecessors()
java.util.concurrent.locks.AbstractQueuedLongSynchronizer.isHeldExclusively()
java.util.concurrent.locks.AbstractQueuedLongSynchronizer.tryAcquire(long)
java.util.concurrent.locks.AbstractQueuedLongSynchronizer.tryAcquireShared(long)
java.util.concurrent.locks.AbstractQueuedLongSynchronizer.tryRelease(long)
java.util.concurrent.locks.AbstractQueuedLongSynchronizer.tryReleaseShared(long)
java.util.concurrent.locks.AbstractQueuedLongSynchronizer.ConditionObject.AbstractQueuedLongSynchronizer.ConditionObject()
java.util.concurrent.locks.AbstractQueuedSynchronizer.hasQueuedPredecessors()
java.util.concurrent.locks.AbstractQueuedSynchronizer.isHeldExclusively()
java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquire(int)
java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireShared(int)
java.util.concurrent.locks.AbstractQueuedSynchronizer.tryRelease(int)
java.util.concurrent.locks.AbstractQueuedSynchronizer.tryReleaseShared(int)
java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject.AbstractQueuedSynchronizer.ConditionObject()
Bug: 182165523
Test: atest AbstractQueuedLongSynchronizerTest
Test: atest AbstractQueuedSynchronizerTest
Change-Id: Ie3d68c294ed56f61479db089a6d1cef504c9b88c
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Revert submission 1660319-java-util-concurrent-unit-tests-1
Reason for revert: Removing unit tests which cause too much divergence from upstream
Reverted Changes:
Idc905cc6b:Adding unit tests for exception classes
I700188e1d:Adding unit tests for ConcurrentSkipListSet
Ifa55996c2:Adding unit tests for ConcurrentSkipListMap
Ic2a58cae5:Adding unit tests for ConcurrentHashMap
Change-Id: I76f2b11dc2574e6230fe74bc41563527a97660d4
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Revert submission 1660319-java-util-concurrent-unit-tests-1
Reason for revert: Removing unit tests which cause too much divergence from upstream
Reverted Changes:
Idc905cc6b:Adding unit tests for exception classes
I700188e1d:Adding unit tests for ConcurrentSkipListSet
Ifa55996c2:Adding unit tests for ConcurrentSkipListMap
Ic2a58cae5:Adding unit tests for ConcurrentHashMap
Change-Id: I1096e46ef08418f11f5c72645edf086bd3e44939
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Revert submission 1660319-java-util-concurrent-unit-tests-1
Reason for revert: Removing unit tests which cause too much divergence from upstream
Reverted Changes:
Idc905cc6b:Adding unit tests for exception classes
I700188e1d:Adding unit tests for ConcurrentSkipListSet
Ifa55996c2:Adding unit tests for ConcurrentSkipListMap
Ic2a58cae5:Adding unit tests for ConcurrentHashMap
Change-Id: If858706de8e0dad6d896e57d7816326327c031a8
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Revert submission 1660319-java-util-concurrent-unit-tests-1
Reason for revert: Removing unit tests which cause too much divergence from upstream
Reverted Changes:
Idc905cc6b:Adding unit tests for exception classes
I700188e1d:Adding unit tests for ConcurrentSkipListSet
Ifa55996c2:Adding unit tests for ConcurrentSkipListMap
Ic2a58cae5:Adding unit tests for ConcurrentHashMap
Change-Id: I7b0828df7ed5f549adf734cf6808029649990d11
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding tests to cover the following APIs:
java.util.concurrent.BrokenBarrierException.BrokenBarrierException(java.lang.String)
java.util.concurrent.CompletionException.CompletionException()
java.util.concurrent.CompletionException.CompletionException(java.lang.String) [X] java.util.concurrent.CompletionException.CompletionException(java.lang.String, java.lang.Throwable)
java.util.concurrent.CompletionException.CompletionException(java.lang.String, java.lang.Throwable)
java.util.concurrent.ExecutionException.ExecutionException()
java.util.concurrent.ExecutionException.ExecutionException(java.lang.String)
java.util.concurrent.ExecutionException.ExecutionException(java.lang.String, java.lang.Throwable)
java.util.concurrent.RejectedExecutionException.RejectedExecutionException()
java.util.concurrent.RejectedExecutionException.RejectedExecutionException(java.lang.String, java.lang.Throwable)
java.util.concurrent.RejectedExecutionException.RejectedExecutionException(java.lang.Throwable)
Bug: 182165523
Test: atest CtsLibcoreOjTestCases:BrokenBarrierExceptionTest
Test: atest CtsLibcoreOjTestCases:CompletionExceptionTest
Test: atest CtsLibcoreOjTestCases:ExecutionExceptionTest
Test: atest CtsLibcoreOjTestCases:RejectedExecutionExceptionTest
Change-Id: Idc905cc6baf770ff514adcf9ae00547832271e09
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Adding tests to cover the following APIs:
java.util.concurrent.ConcurrentSkipListSet.ConcurrentSkipListSet(java.util.SortedSet)
java.util.concurrent.ConcurrentSkipListSet.clone()
java.util.concurrent.ConcurrentSkipListSet.descendingIterator()
Bug: 182165523
Test: atest CtsLibcoreOjTestCases:ConcurrentSkipListSetTest
Change-Id: I700188e1d2aeaf1b9f8a20fb64443e9a1b22dd53
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding tests to cover the following APIs:
java.util.concurrent.ConcurrentSkipListMap.clone()
java.util.concurrent.ConcurrentSkipListMap.firstEntry()
java.util.concurrent.ConcurrentSkipListMap.lastEntry()
Modified existing tests to cover the following APIs:
java.util.concurrent.ConcurrentSkipListMap.headMap(K)
java.util.concurrent.ConcurrentSkipListMap.subMap(K, K)
java.util.concurrent.ConcurrentSkipListMap.tailMap(K)
These APIs - headMap(K), subMap(K, K), tailMap(K) - are just a
simplified version of other equivalent APIs which were already
tested with the "default" parameters. Since those, fuller, APIs
are also tested in other places, the existing tests with "default"
parameters have been converted to just use the simplified API.
Change-Id: Ifa55996c27f385353e4393b5bac1f176276ab378
Bug: 182165523
Test: atest CtsLibcoreOjTestCases:ConcurrentSkipListMapTest
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding tests to cover the following APIs:
java.util.concurrent.ConcurrentHashMap.newKeySet(int)
java.util.concurrent.ConcurrentHashMap.reduceEntries(long, java.util.function.Function, java.util.function.BiFunction)
java.util.concurrent.ConcurrentHashMap.reduceEntriesToDouble(long, java.util.function.ToDoubleFunction, double, java.util.function.DoubleBinaryOperator)
java.util.concurrent.ConcurrentHashMap.reduceEntriesToInt(long, java.util.function.ToIntFunction, int, java.util.function.IntBinaryOperator)
java.util.concurrent.ConcurrentHashMap.reduceEntriesToLong(long, java.util.function.ToLongFunction, long, java.util.function.LongBinaryOperator)
java.util.concurrent.ConcurrentHashMap.reduceToDouble(long, java.util.function.ToDoubleBiFunction, double, java.util.function.DoubleBinaryOperator)
java.util.concurrent.ConcurrentHashMap.reduceToInt(long, java.util.function.ToIntBiFunction, int, java.util.function.IntBinaryOperator)
java.util.concurrent.ConcurrentHashMap.reduceToLong(long, java.util.function.ToLongBiFunction, long, java.util.function.LongBinaryOperator)
Change-Id: Ic2a58cae5c56d3197445872aad1e7c30e20ba0df
Bug: 182165523
Test: atest CtsLibcoreOjTestCases:ConcurrentHashMap8Test
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Attempt 2
The 1st attempt is reverted due to http://b/181312360. The solution is
to mark Collection8Test as abstract class instead. Verified by running
`atest CtsLibcoreOjTestCases`
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
Change-Id: I70ff582fe5331aa74c44f556722afcdc958e0ac8
|
| |
|
|
|
|
| |
Bug: 119393918
Test: N/A
Change-Id: I69cf81ef295ac7f4aca508be13f72a17970c17d9
|
| |
|
|
|
|
|
|
|
|
|
| |
Revert submission 1607393-test.java.util.concurrent.tck
Reason for revert: http://b/181312360
Reverted Changes:
I9e054a400:Android patch: Modify test.java.util.concurrent.tc...
I767bdf805:Import java.util.concurrent.tck tests from 9+181
Change-Id: I5a4f960842198c2aadf110c823c85724b7d0eaff
|
| |
|
|
|
|
|
|
|
|
|
| |
Revert submission 1607393-test.java.util.concurrent.tck
Reason for revert: http://b/181312360
Reverted Changes:
I9e054a400:Android patch: Modify test.java.util.concurrent.tc...
I767bdf805:Import java.util.concurrent.tck tests from 9+181
Change-Id: I8fa8752dc09b3911bfed02f8274d44c806aa8578
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
Bug: 119393918
Test: N/A
Change-Id: I767bdf80569463727126c1ea1de53d0c1640ebd8
|