summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
author Rambo Wang <rambowang@google.com> 2020-04-30 15:07:18 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2020-04-30 15:07:18 +0000
commitb86d989fce1997e4901aad3b45eec2b15383bd6d (patch)
tree9e4f934522cd47b37214103bb49fb18be1f6629a /tests
parent26f3511f978e9eba37ee3dcd9df76605552fd907 (diff)
parent6fc5438dfd43be66304432bb61d61a5e967ae86a (diff)
Merge "Rename satisfiedBy to canBeSatisfiedBy for MatchAllNetworkSpecifier"
Diffstat (limited to 'tests')
-rw-r--r--tests/net/common/java/android/net/MatchAllNetworkSpecifierTest.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/net/common/java/android/net/MatchAllNetworkSpecifierTest.kt b/tests/net/common/java/android/net/MatchAllNetworkSpecifierTest.kt
index ef15b668e24c..a50f0461fae6 100644
--- a/tests/net/common/java/android/net/MatchAllNetworkSpecifierTest.kt
+++ b/tests/net/common/java/android/net/MatchAllNetworkSpecifierTest.kt
@@ -39,12 +39,12 @@ class MatchAllNetworkSpecifierTest {
}
@Test(expected = IllegalStateException::class)
- fun testSatisfiedBy() {
+ fun testCanBeSatisfiedBy() {
val specifier = MatchAllNetworkSpecifier()
val discoverySession = Mockito.mock(DiscoverySession::class.java)
val peerHandle = Mockito.mock(PeerHandle::class.java)
val wifiAwareNetworkSpecifier = WifiAwareNetworkSpecifier.Builder(discoverySession,
peerHandle).build()
- specifier.satisfiedBy(wifiAwareNetworkSpecifier)
+ specifier.canBeSatisfiedBy(wifiAwareNetworkSpecifier)
}
}