diff options
| author | 2017-02-08 11:26:08 -0800 | |
|---|---|---|
| committer | 2017-02-27 08:52:01 -0800 | |
| commit | 9853743705603e0b5214e5995bea8c9267708813 (patch) | |
| tree | 943968e9799becf93339bf82b077233ec5d8d89d /libs/hwui/ProgramCache.cpp | |
| parent | 1b0f1568d927e2a6ac05db5f1b7a1a8c6b520113 (diff) | |
AccessPoint - Add Builder; Add unit tests for compareTo()
Add a Builder class to make testing easy and clean.
Add unit tests to enforce the sorting order that we want.
Refactor some compareTo() internals to use existing methods rather than
duplicating functionality.
Refactor isReachable() functionality to a new method.
Update tests to use Truth assertion library.
Test: Run local AccessPoint unit tests:
adb shell am instrument -w -e class
com.android.settingslib.wifi.AccessPointTest
com.android.settingslib/android.support.test.runner.AndroidJUnitRunner
Bug: 35042429
Change-Id: I7c8a1ca69800f62e1fb13141e58b4e52b2bc3d70
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions