2078ffdef94c81f7808b56b87e8087bead8a2e09 |
|
28-Mar-2017 |
Sohani Rao <sohanirao@google.com> |
Make WifiStateTrackerTest work with Mockito2.0 Replace anyString() with any() in order to get the test passing Bug: 36659003 Test: Unit test for WifiStateTracker Change-Id: Id35bab32591a72df3de18b6d771971f8981029b2
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiStateTrackerTest.java
|
da7d73da44a47933cfc99660c2d247c24fd72544 |
|
24-Mar-2017 |
mukesh agrawal <quiche@google.com> |
disable failing tests Disable failing unit tests, except for the ones where a) we already have fixes up for review, or b) the test was failing before the Mockito update The tests are disabled via a new annotation, so that we can more easily track progress on updating the tests to work with the new version of Mockito. Bug: 36407367 Test: runtests.sh -e notClass com.android.server.wifi.WifiVendorHalTest,com.android.server.wifi.hotspot2.PasspointManagerTest,com.android.server.wifi.WifiConfigManagerTest,com.android.server.wifi.p2p.SupplicantP2pIfaceHalTest#testCancelServiceDiscovery_exception Change-Id: Idca42fe735821a29a6dc0ca975bf5d39909ec508
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiStateTrackerTest.java
|
3c0eb618a6398926893508f9d05fa39a99cf4894 |
|
03-Feb-2017 |
Sohani Rao <sohanirao@google.com> |
Note WifiState in BatteryStats BatteryStats has APIs which can be used to keep it posted about the WifiStateMachine state . This can help correlate power usage with different WifiStates. A helper class WifiStateTracker will convert WifiStateMachine states to the states of interest in BatteryStats. Bug: 28908455 Test: Unit tests Change-Id: I18db4496c1d7388f57e249d7dbdc0115134c1b3b
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiStateTrackerTest.java
|