diff options
author | Sreeram Ramachandran <sreeram@google.com> | 2014-07-19 23:21:46 -0700 |
---|---|---|
committer | Sreeram Ramachandran <sreeram@google.com> | 2014-07-22 15:46:34 -0700 |
commit | 03666c705ddabe0e7c5869ab69c2ca8b964164e9 (patch) | |
tree | c24ae1fb4a94ea49af37c122a3e194a35b37d873 /services/tests/servicestests | |
parent | 921ec8056a3010d0a21400f97312cf3f7d97ffaa (diff) | |
download | frameworks_base-03666c705ddabe0e7c5869ab69c2ca8b964164e9.zip frameworks_base-03666c705ddabe0e7c5869ab69c2ca8b964164e9.tar.gz frameworks_base-03666c705ddabe0e7c5869ab69c2ca8b964164e9.tar.bz2 |
Cleanup: Delete dead code.
Bug: 15413389
Change-Id: I315468832ef18ffc84174e54774ab63b86d284dc
Diffstat (limited to 'services/tests/servicestests')
-rw-r--r-- | services/tests/servicestests/src/com/android/server/ConnectivityServiceTest.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/services/tests/servicestests/src/com/android/server/ConnectivityServiceTest.java b/services/tests/servicestests/src/com/android/server/ConnectivityServiceTest.java index 88aaafc..9e3dec8 100644 --- a/services/tests/servicestests/src/com/android/server/ConnectivityServiceTest.java +++ b/services/tests/servicestests/src/com/android/server/ConnectivityServiceTest.java @@ -162,12 +162,10 @@ public class ConnectivityServiceTest extends AndroidTestCase { mTrackerHandler.obtainMessage(EVENT_STATE_CHANGED, mMobile.info).sendToTarget(); nextConnBroadcast.get(); - // verify that both routes were added and DNS was flushed + // verify that both routes were added int mobileNetId = mMobile.tracker.getNetwork().netId; verify(mNetManager).addRoute(eq(mobileNetId), eq(MOBILE_ROUTE_V4)); verify(mNetManager).addRoute(eq(mobileNetId), eq(MOBILE_ROUTE_V6)); - verify(mNetManager).flushNetworkDnsCache(mobileNetId); - } public void testMobileWifiHandoff() throws Exception { @@ -204,7 +202,6 @@ public class ConnectivityServiceTest extends AndroidTestCase { int wifiNetId = mWifi.tracker.getNetwork().netId; verify(mNetManager).addRoute(eq(wifiNetId), eq(WIFI_ROUTE_V4)); verify(mNetManager).addRoute(eq(wifiNetId), eq(WIFI_ROUTE_V6)); - verify(mNetManager).flushNetworkDnsCache(wifiNetId); verify(mMobile.tracker).teardown(); int mobileNetId = mMobile.tracker.getNetwork().netId; |