This logically reverts two recent CLs [1][2] to submit a corresponding logical revert [3] into frameworks/base to address Bug 190486491. [1]: I767069892c713023b064525105ef2b55946b7bb88279b8ee5a
[2]: I6733e8b500f5e02d4e14cde4ab7a46f4f716f5d0fa01bf30ba
[3]: If16ac0de536d9089eb04f6e07b1ee47378124658 Bug: 163453493 Bug: 190486491 Test: make RunSettingsRoboTests ROBOTEST_FILTER="WinscopeTraceTest" Change-Id: Idea98bd36935a27d886ca337154112e7dd293080
Running Settings Robolectric tests
The full suite
$ croot
$ make RunSettingsRoboTests
Running a single test class
$ croot
$ make RunSettingsRoboTests ROBOTEST_FILTER=<ClassName>
For example:
make RunSettingsRoboTests ROBOTEST_FILTER=CodeInspectionTest
You can also use partial class name in ROBOTEST_FILTER. If the partial class name matches multiple file names, all of them will be executed.