A bunch of fixes for cts tests in donut.
The specifics are as follows:
- Fix android.content.res.cts.ConfigTest (bug 2016026)
- Add definition of custom test locale in make file
- remove configuration resources for the default test configuration settings
- add missing configurations
- Port missing logic from ConfigTest from framework unit tests
- Comment out untestable logic in ActivityManagerTest#testProcessInErrorState
(bug 2004043)
- Mark tests.api.java.io.FileTest#test_delete as a known failure (bug 1990816)
- Fix InstrumentationTest#sendPointerSync: Adjust coordinates of MotionEvent in
so its directed to activity under test instead of Status bar (bug 2004230)
- also apply same fix to GestureDetector tests (bug 2019096)
- Disable failing PaintTest methods that rely on hardcoded values (bug 1934963)
- Remove asserts for constantPadding value when variablePadding is false from
AnimationDrawableTest#testInflate and DrawableContainerStateTest#
testAccessConstantPadding and StateListDrawableTest#testInflate (bug 2016862)
- Remove false assertions from GeocoderTest (bug 2017021)
- Add checks for presence of GPS provider to LocationManagerTest (bug 2017647)
- Remove null provider check from MediaStore_Audio_Playlists_MembersTest#testGetContentUri
(bug 2017132)
- Removing assertion that LoginFilter.getFilter is returning an instance of SpannableString
(bug 1937348)
- Turn off kerning when measuring text in TextUtilsTest (bug 2017456)
- Update DateUtilsTest#testGetAMPMString to test for lower case values (bug 2017467)
- Fix DateUtilsTest#testFormatMethod so it accepts both a leadign zero and no leading zero
for single digit month dates (bug 2017471)
- Remove NPE check in ViewTest#testGetLocationOnScreen (bug 2018903)
32 files changed