summaryrefslogtreecommitdiff
path: root/tests/unit/src/com/android/settings/testutils/FakeToggleController.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix broken SettingsSliceProviderTestJason Chiu2022-01-261-1/+2
| | | | | | Fix: 214944418 Test: robotest Change-Id: Ib96bbcecbe9fab91ecae6fcaf32f90c11c3caced
* Support slice deep links highlighting menu entriesJason Chiu2021-11-011-0/+6
| | | | | | | | | | | - Add an interface to get highlight menu key resource in Sliceable - Force implementing the new interface in TogglePreferenceController and CustomSliceable at syntax level - Update the slice index db schema Bug: 204695404 Test: manual, robotest build pass, unit Change-Id: I0b5068bccd04f1590023de7f3385bc0a4c6fa47b
* Migrate robolectric tests to junit testsArc Wang2020-12-161-0/+105
This change do the 2 things: 1. Add new junit tests files which replace robolectric RobolectricTestRunner & RuntimeEnvironment with AndroidX objects without problem. 2. Remove the robolectric test files which have it's new junit files. This change migrate 103 files, there are still 1209 files to go. Bug: 174728471 Test: atest make RunSettingsRoboTests Change-Id: I15ed3f4745b85862f720aabbf710ce1475aced93