History log of /libcore/support/src/test/java/tests/support/Support_MapTest.java
Revision Date Author Comments
8acf1a7ee895565ab92626540308f3d893f88005 23-Jun-2014 Neil Fuller <nfuller@google.com> Fix UnmodifiableEntrySet.toArray() ordering

toArray() was returning entries in reverse order.
toArray(T[]) was correct.

Thanks to Chris Povirk for discovering.

The fix is simple.

Change includes additional tests to avoid regressions.
Test & support code has been cleaned up a little to
improve coverage and make it (slightly) less horrible.

Bug: https://code.google.com/p/android/issues/detail?id=72073
(cherry picked from commit 244e90adfe67264364de88df0fd741db0eb12b7f)

Change-Id: Ief017ca70863b799242ccfd04b8827e548548ea4
244e90adfe67264364de88df0fd741db0eb12b7f 23-Jun-2014 Neil Fuller <nfuller@google.com> Fix UnmodifiableEntrySet.toArray() ordering

toArray() was returning entries in reverse order.
toArray(T[]) was correct.

Thanks to Chris Povirk for discovering.

The fix is simple.

Change includes additional tests to avoid regressions.
Test & support code has been cleaned up a little to
improve coverage and make it (slightly) less horrible.

Bug: https://code.google.com/p/android/issues/detail?id=72073
Change-Id: I42ff90e0f592482289cd0cd9fdbdaabf0c17ad93