History log of /cts/tests/tests/content/src/android/content/res/cts/ConfigTest.java
Revision Date Author Comments
d6e53944e560f77d785f239349530c1906587054 25-Jan-2017 Romain Guy <romainguy@google.com> Test for color mode configurations

Bug: 32984164
Test: CtsContentTestCases

Change-Id: I047723bd5e963e86c78584407082336cef47b068
f9c04cb855c1ce0dafb3b6a5b52d9d61eb99e0fd 15-Jun-2016 Roozbeh Pournader <roozbeh@google.com> Make sure resources are not filtered out

Also that they get discovered in getNonSystemLocales().

Bug: 28054580
Change-Id: Ib4ffa4b9f4435070fb233dd331d86bf65e25ca63
41758a720d19a64eda4082d37c95f06440b99064 14-Jun-2016 Roozbeh Pournader <roozbeh@google.com> Add and tweak CTS tests for Tagalog/Filipino matching

Also test that Klingon resources are not incorrectly handled.

Bug: 29073000
Change-Id: I88d34836b49210fa3a04bf01d4bf1d61bc524762
c83e6c76c6d21f12521085f40b66d1e62ee9ed45 16-Sep-2015 Nash Lincoln <nashira@google.com> migrate content tests to cts_v2

bug:21762834
Change-Id: Ie087aa809bff01f736c6bfea49780e6b7db291bc
5e1d8d9e873b1aad091c86c438a723942e221c87 29-Oct-2014 Narayan Kamath <narayan@google.com> Revert "Don't assert that devices have fil-PH translations."

This reverts commit 244633ce390f4a4ef7c23f7e56092a3d949bdb68.
244633ce390f4a4ef7c23f7e56092a3d949bdb68 29-Oct-2014 Elliott Hughes <enh@google.com> Don't assert that devices have fil-PH translations.

Sadly we allow OEMs to ship with as few localizations as they choose.

Bug: 18158040
Change-Id: Ib6e96ab69a654154a01be8efddb8467cb59ca33a
045a6fa479180d6a6e85ad1913afe1a04bb5e4f6 12-Sep-2014 Chenjie Luo <cjluo@google.com> Move android.content out of CtsTestStubs

bug: 17399569
Change-Id: Ie90ec8b5c17a34d5d507ee0ce21fb56b709da2f7
532d77f22fc86721f319e9bd20e9767e936622e4 30-Jun-2014 Narayan Kamath <narayan@google.com> Add CTS tests for tl <-> fil conversion.

Assert that setting the language to "fil" loads
"tl" resources and the list of languages returned
by the asset manager doesn't include "tl".

Also assert that "tgl" works as expected.

Change-Id: If985513a4df4573343e285908f17914cb86a6d1d
82ee2e50f63c00c3a57ce4f76f1843a58b176e09 03-Feb-2014 Narayan Kamath <narayan@google.com> Add CTS tests for extended locales.

(cherry picked from commit e80d5b0e7b79abf222ed831a16d316911a964465)

Change-Id: I5d4f38d62b430f3d5d5aa00d735ca8fa32d3cfec
e80d5b0e7b79abf222ed831a16d316911a964465 03-Feb-2014 Narayan Kamath <narayan@google.com> Add CTS tests for extended locales.

Change-Id: I844091293a64205409ef500a66a3901a6025c2af
fc54047e83c52aeb60dddde83f82f7940cb5222f 19-Sep-2013 Adam Lesinski <adamlesinski@google.com> Fixed failing CTS ConfigTest on KLP

- DisplayMetrics#noncompat* fields were never set in ConfigTest.java, which
caused unscaled configurations to be automatically set to default

bug:10204942

Change-Id: Ib2844ab1d4e96e2aa3c9f662426337e326902ea8
fadb6e50259673cbdca4bd2279b005d799c4112d 19-Sep-2013 Adam Lesinski <adamlesinski@google.com> Fixed failing CTS ConfigTest on KLP

- DisplayMetrics#noncompat* fields were never set in ConfigTest.java, which
caused unscaled configurations to be automatically set to default

bug:10204942

Change-Id: Ib2844ab1d4e96e2aa3c9f662426337e326902ea8
3b12c3cd80c04ced7ba8fb120b6574bedda437e1 25-Apr-2013 Andy McFadden <fadden@android.com> Fix file permissions

Java source files are not generally executable.

Change-Id: I4fe45a3eb7bc136ba29dd6632bf9865f2f940bf3
22c10fd575ab9eaf2f8f7a8b2a3e1569b041ded9 05-Oct-2012 Dianne Hackborn <hackbod@google.com> Fix density tests.

6949465 android.content.res.cts.ConfigTest#testNewScreenSize failures on JO
6949464 android.content.res.cts.ConfigTest#testDensity failures on JO
6949462 android.content.res.cts.ConfigTest#testCombinations failures on JO
6949461 android.content.res.cts.ConfigTest#testAllEmptyConfigs failures on JO
6949460 android.content.res.cts.ConfigTest#testAllClassicConfigs failures on JO
6948930 android.content.res.cts.ConfigTest#testPrecidence failures on JO

Change-Id: Ida75c9caaeaa8eb06a2d63b5cff33f5670aa2013
63d85b57e49feb83fd91ed027b4893a0e47415ae 09-Mar-2012 Dianne Hackborn <hackbod@google.com> Add resource tests for configs that are the same.

Verifies that two "sw" resources with the same size will not
incorrectly identify one as better than the other.

Change-Id: Ifd9a4341cc676e54b67e40914070c435071d39b9
544d272e5901ed193dd9c55a9ef791a38ffef91e 27-May-2011 Dianne Hackborn <hackbod@google.com> Fix issue #4490446: 5 failures in android.content.res.cts.ConfigTest

Plus add tests for the new swNNdp, wNNNdp, and hNNNdp resource configs.

Change-Id: Ie121bf520caf91c6915f91de01830c6d59a39a6f
9e357fa63f60e01c61fc11ce304398233b779558 28-Apr-2010 Dianne Hackborn <hackbod@google.com> New CTS tests for screen size config selection.

Change-Id: I1feeab3ee5cc3afc18233ed66a992fdcc53a543f
3da7534f2880068b90b88585c45be62751dbfd6b 13-Jan-2010 The Android Open Source Project <initial-contribution@android.com> android-2.1_r1 snapshot
c6dd74ed84f79a31b2be4ce52a61fef8e16b54b9 02-Nov-2009 Dianne Hackborn <hackbod@google.com> Test for issue #2226370: Resource versions match with equality

Adds tests to ensure that version number is being handled correctly.
Also fixed build to include required density resources.

Change-Id: Ia201d9e9ed7603c69ad12d79098f8584479f28fe
e947cdc06f481293bbd4466c5e73860ea34fcb87 29-Jul-2009 Brett Chabot <brettchabot@google.com> 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)
ea99ab0ba2830711b1f074f34f647e075da1c38d 16-May-2009 Phil Dubach <phillipd@google.com> Integrate unsubmitted cupcake change 122821:
CTS: add test cases for android.content.res.Resources