History log of /frameworks/base/core/tests/coretests/src/android/util/ArrayMapTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bdbde55592792efe350acd6a46733f439f6a3f3d 19-Dec-2017 Aurimas Liutikas <aurimas@google.com> Annotate an assortment of coretest with @LargeTest

Non-annotated tests do not run, thus adding @LargeTest to an assortment
of tests that were missing annotations.

Found these classes with:
fn "*Test.java" | xargs grep -L "@LargeTest" | xargs grep -L "@MediumTest" | \
xargs grep -L "@SmallTest" | sort

Bug: 70846562
Test: make -j80 FrameworksCoreTests
Change-Id: Ifd466251b92728f9bbfa3cbd8fd21d34490f4eb1
/frameworks/base/core/tests/coretests/src/android/util/ArrayMapTest.java
d0ecb1ed10725a6b2c84d64e212984cd4c0d26d2 14-Apr-2017 Dan Sandler <dsandler@android.com> Avoid ClassCastException in ArrayMap.

Only happens if you're put()ing and clear()ing the map from
different threads, and Dianne told you not to do that.

In addition to avoiding the cache poisoning that results
from concurrent access, ArrayMap now attempts to throw
ConcurrentModificationException if clear() or
ensureCapacity() or put() notices you've modified the map
elsewhere.

Bug: 32994281
Test: runtest -x frameworks/base/core/tests/coretests/src/android/util/ArrayMapTest.java
runtest -x cts/tests/tests/util/src/android/util/cts/ArrayMapTest.java
Change-Id: Ia75970aa9e2b2b65692179f51243584b9773797f
/frameworks/base/core/tests/coretests/src/android/util/ArrayMapTest.java