After ag/14438399, a lot of related tests failed. Create two overlay layout files in robolectric and add original theme style back. It's not perfect, but it didn't affect the behavior of tests, Tests still can build the views and do the original tests. Test: Run robo test Fix: 187819138 Change-Id: I7af0e9e6c61fc204efeea03ec3ca8437aeb2d256
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.