Defined constant LINK_SPEED_UNKNOWN = -1 in WiFiInfo for unknown link speeds. So replacing -1 with this new macro. Bug: 124302657 Test: Connect STA to AP and verify the link speeds in network details. Change-Id: Ie21069984adb02420ca55b08a8cb161aaad2b7b3
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.