commit | fb878b66b9456f8fee2bcb1076263852d207949d | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Thu Jul 26 18:32:30 2012 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Wed Aug 08 16:23:41 2012 -0700 |
tree | 2f2d3f1de5c8de8e04c4a84d5c443471837adf58 | |
parent | 088f29f55eebc6862a4cb5dddeaefacf24f74d95 [diff] |
Isolate NetworkStateTracker creation, test. Change ConnectivityService to use a factory when creating NetworkStateTrackers, which gives us a good place to inject mocks for testing. Add initial tests to verify that network routes are added and removed as networks changed. Change-Id: I11cbc61a84c2ed4afa2670036295b1494eab26e1