[NS01.cn] Adjust calls for NetworkScore
Test: NetworkAgentTest Change-Id: I67b7adb867ec0fdb4ef17f00edd518836b69c8f3
This commit is contained in:
@@ -81,7 +81,6 @@ import org.junit.Before
|
|||||||
import org.junit.Test
|
import org.junit.Test
|
||||||
import org.junit.runner.RunWith
|
import org.junit.runner.RunWith
|
||||||
import org.mockito.ArgumentMatchers.any
|
import org.mockito.ArgumentMatchers.any
|
||||||
import org.mockito.ArgumentMatchers.anyInt
|
|
||||||
import org.mockito.ArgumentMatchers.argThat
|
import org.mockito.ArgumentMatchers.argThat
|
||||||
import org.mockito.ArgumentMatchers.eq
|
import org.mockito.ArgumentMatchers.eq
|
||||||
import org.mockito.Mockito.doReturn
|
import org.mockito.Mockito.doReturn
|
||||||
@@ -632,7 +631,7 @@ class NetworkAgentTest {
|
|||||||
argThat<NetworkInfo> { it.detailedState == NetworkInfo.DetailedState.CONNECTING },
|
argThat<NetworkInfo> { it.detailedState == NetworkInfo.DetailedState.CONNECTING },
|
||||||
any(LinkProperties::class.java),
|
any(LinkProperties::class.java),
|
||||||
any(NetworkCapabilities::class.java),
|
any(NetworkCapabilities::class.java),
|
||||||
anyInt() /* score */,
|
any() /* score */,
|
||||||
any(NetworkAgentConfig::class.java),
|
any(NetworkAgentConfig::class.java),
|
||||||
eq(NetworkProvider.ID_NONE))
|
eq(NetworkProvider.ID_NONE))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user