summaryrefslogtreecommitdiffstats
path: root/services/tests
diff options
context:
space:
mode:
authorPaul Jensen <pauljensen@google.com>2014-04-15 15:48:48 -0400
committerLorenzo Colitti <lorenzo@google.com>2014-05-14 03:56:33 -0700
commita7b9796345335e4906d98432a1d194fa242cd23e (patch)
tree304fa1bcc832aa8c4310283ff2ea3a55ef35a000 /services/tests
parent13e817df516a803fbedeacca2c802a9fc1c1370f (diff)
downloadframeworks_base-a7b9796345335e4906d98432a1d194fa242cd23e.zip
frameworks_base-a7b9796345335e4906d98432a1d194fa242cd23e.tar.gz
frameworks_base-a7b9796345335e4906d98432a1d194fa242cd23e.tar.bz2
Get ConnectivityServiceTest building again after 8f80cc8.
Change-Id: I4520011ba2076d8fac1ca234cb9a79c774992671
Diffstat (limited to 'services/tests')
-rw-r--r--services/tests/servicestests/src/com/android/server/ConnectivityServiceTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/tests/servicestests/src/com/android/server/ConnectivityServiceTest.java b/services/tests/servicestests/src/com/android/server/ConnectivityServiceTest.java
index f955f4f..b4a02f1 100644
--- a/services/tests/servicestests/src/com/android/server/ConnectivityServiceTest.java
+++ b/services/tests/servicestests/src/com/android/server/ConnectivityServiceTest.java
@@ -165,7 +165,7 @@ public class ConnectivityServiceTest extends AndroidTestCase {
// verify that both routes were added and DNS was flushed
verify(mNetManager).addRoute(eq(MOBILE_IFACE), eq(MOBILE_ROUTE_V4));
verify(mNetManager).addRoute(eq(MOBILE_IFACE), eq(MOBILE_ROUTE_V6));
- verify(mNetManager).flushInterfaceDnsCache(MOBILE_IFACE);
+ verify(mNetManager).flushNetworkDnsCache(mMobile.tracker.getNetwork().netId);
}
@@ -202,7 +202,7 @@ public class ConnectivityServiceTest extends AndroidTestCase {
// verify that wifi routes added, and teardown requested
verify(mNetManager).addRoute(eq(WIFI_IFACE), eq(WIFI_ROUTE_V4));
verify(mNetManager).addRoute(eq(WIFI_IFACE), eq(WIFI_ROUTE_V6));
- verify(mNetManager).flushInterfaceDnsCache(WIFI_IFACE);
+ verify(mNetManager).flushNetworkDnsCache(mWifi.tracker.getNetwork().netId);
verify(mMobile.tracker).teardown();
reset(mNetManager, mMobile.tracker);