History log of /packages/apps/Settings/tests/unit/src/com/android/settings/core/UniquePreferenceTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
301a89d7268e1a16fca21ca01fe937dddacdaeb3 17-Mar-2018 Lei Yu <jackqdyulei@google.com> Remove dupe key in UniquePreferenceTest

The duplicate page already removed in b/70848054, we need to update
the test.

Change-Id: Ia1f313d211e7528311e56596dbab152aad54bf22
Fixes: 70848054
Test: runtest -x UniquePreferenceTest
/packages/apps/Settings/tests/unit/src/com/android/settings/core/UniquePreferenceTest.java
3b47e5bc9fc3b8863465ed597c05a80e695bc342 23-Feb-2018 Fan Zhang <zhfan@google.com> Reuse xml parser logic to scrape preference xml files.

Bug: 73668763
Test: atest
Test: robotests
Change-Id: Ifc241b5b4ec6d2935c4c532ff902a7ba352a98d6
/packages/apps/Settings/tests/unit/src/com/android/settings/core/UniquePreferenceTest.java
1ac5a012539fda7081fc2646cf330759a456f38b 21-Feb-2018 Fan Zhang <zhfan@google.com> Move xmlParserUtils to core

This class is currently used by both search and slice, in the future
will be used by DashboardFragment to build controller list. So the scope
of this class is beyond search now.

Test: rerun robotests
Change-Id: If43ebca065aac31ad24f95a94bfe5be784109605
/packages/apps/Settings/tests/unit/src/com/android/settings/core/UniquePreferenceTest.java
a33ee8b3492fb81de26cbd749066ee1d68aaf9d6 14-Feb-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix instrumentation tests"
d2e33e73a16973926d52858b7a92281a9c90b15f 12-Feb-2018 Fan Zhang <zhfan@google.com> Fix instrumentation tests

Change-Id: I4f6891f095f4803e822b55a3f44d67ee4d173180
Fixes: 73242024
Test: atest
/packages/apps/Settings/tests/unit/src/com/android/settings/core/UniquePreferenceTest.java
58eb43a2e4fe86665229318b96ab351b229c7000 10-Feb-2018 Leslie Watkins <lesliewatkins@google.com> Remove all reference to SmsMirroring in Android Settings.

Test: Robotests

Change-Id: I3318c6915cae95522f09838f00a3c567fe9e5fc5
/packages/apps/Settings/tests/unit/src/com/android/settings/core/UniquePreferenceTest.java
9f1352b4f3d68f38b34d26cb34496b8fcc81020c 25-Jan-2018 Daniel Nishi <dhnishi@google.com> Fix the UniquePreferenceTest.

By adding in the About Phone v2 screen, we duplicated some settings.

This isn't actually a problem because when the flag to turn on V2 is on,
V1 goes away, and vice versa.

Change-Id: I9aa327ac532ed2ac240bb2d6cbb327f299438889
Bug: 72459760
Test: adb shell am instrument -w -e class
com.android.settings.core.UniquePreferenceTest
com.android.settings.tests.unit/android.support.test.runner.AndroidJUnitRunner
/packages/apps/Settings/tests/unit/src/com/android/settings/core/UniquePreferenceTest.java
4d163fcc936082a58ea0f468a6820e2028cfd622 18-Jan-2018 Ben Lin <linben@google.com> Add capability for OEMs to supply their own SearchIndexableResources.

This moves SearchIndexableResources to be supplied by FeatureFactory
rather than its own singleton, which in effect allows OEMs to supply their
own, in the case where they have their own classes they want to be
indexed (or, remove certain classes that used to be indexed).

Bug: 72179744
Test: All tests pass.

Change-Id: Ia06b2026df7eca4c53b44a5a589c4aaa0b69d96c
/packages/apps/Settings/tests/unit/src/com/android/settings/core/UniquePreferenceTest.java
c007634df2557c6933f15b1dd335ab4c8bb2e36f 19-Dec-2017 Fan Zhang <zhfan@google.com> Fix UniquePreferenceTest

Bug: 70638967
Test: atest UniquePreferenceTest
Change-Id: Idf06ccd9580d66c051f9b7c910c567f321da6cc5
/packages/apps/Settings/tests/unit/src/com/android/settings/core/UniquePreferenceTest.java
7d5c9ace64b3b65bb3475d4f25fb5a7ac8c2730f 16-Nov-2017 Fan Zhang <zhfan@google.com> Add test and fix null keys in search providers.

- Add keys to some screens.
- Remove dynamic saved network/turst agent from search provider.
- Remove dynamic print services from printsettings.

Bug: 69384409
Test: atest
Change-Id: I62dce27d52585badb2a8953a05084e35dbae2f7d
/packages/apps/Settings/tests/unit/src/com/android/settings/core/UniquePreferenceTest.java
6c0c78946076154763ee3c870acf0e4db0b2e53d 13-Nov-2017 Fan Zhang <zhfan@google.com> Revert "Get rid of SearchIndexableResources entirely."

Fixes: 69266642

This reverts commit ba0077977f1445b8f41e8632d54969be3fc0b0b0.

Change-Id: I9de6914f194a65ba627b2e5e805884f894fc044f
/packages/apps/Settings/tests/unit/src/com/android/settings/core/UniquePreferenceTest.java
ba0077977f1445b8f41e8632d54969be3fc0b0b0 10-Nov-2017 Fan Zhang <zhfan@google.com> Get rid of SearchIndexableResources entirely.

Bug: 37741509
Test: robotests
Change-Id: I7e6dba5e13378beae632c838b7dd13acfdc50b10
/packages/apps/Settings/tests/unit/src/com/android/settings/core/UniquePreferenceTest.java
55ce64dcd9e0dfc7bca23b3aba309c9daaaf6fa3 03-Nov-2017 Matthew Fritze <mfritze@google.com> Move Index provider conversion into Settings provider

Pre-patch, settings search provider would push all of its
fragments into to search via SearchIndexableResources with
an implicit contract of if the resource's xml == 0, then
it was a settings fragment with an Index provider.

One, implicit contract is bad. Two, it was messy at indexing time.

So this patch moves htat conversion into the search index provider.
Such that all of the indexables are either real Resources or Raw.

Change-Id: I39f4351c03d123bb9b45edb4df7f924cfaff2b38
Fixes: 65376542
Fixes: 37741509
Test: robotests
/packages/apps/Settings/tests/unit/src/com/android/settings/core/UniquePreferenceTest.java
6438ee5466c72155bcf7e68127f54de1b47e2edc 31-Oct-2017 Fan Zhang <zhfan@google.com> Mark core unit tests for Presubmit

Bug: 68716631
Bug: 68720368
Test: rerun test
Change-Id: Ia8cca6aede824928fc358b005172bbe2ed670c8f
/packages/apps/Settings/tests/unit/src/com/android/settings/core/UniquePreferenceTest.java
e261535192f9f2106865be2adc02c50f8a942f79 31-Oct-2017 Fan Zhang <zhfan@google.com> Implement the missing PreferenceControllerMixin interface

Change-Id: I0bb28cf9d2ec24629485a754778faddcbc8f9fdb
Fixes: 68716631
Test: atest PreferenceControllerContractTest
/packages/apps/Settings/tests/unit/src/com/android/settings/core/UniquePreferenceTest.java