Root cause: Sometimes loading contextual cards exceeds 1 second and a timeout expires. In the past, we used the timeout in order not to update homepage UI and to avoid screen scrolling. But we've introduced a mechanism of card space pre-allocation to avoid flickering, so when the timeout expires, the pre-allocated space will be always blank. Solution: Display a card on timeout if the one-card space is pre-allocated. Fixes: 165886791 Test: robotest Change-Id: I79b29c5fd6d9c4fe6b53dd4f5eab4cd3a606d76d
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.