commit | 6b9021d76c772799a8bf35c42e044e2a6788e83e | [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 | 5c5b6a22e863847ee16128ce153fd623b5260b0c | |
parent | 60e6c1ac06cf24bc82c50301af2255c1ed779976 [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