Use lisOf in parameterized test parameters
Flag: EXEMPT mainline Bug: 410976315 Test: atest ConnectivityCoverageTests:android.net.connectivity.com.android.server.connectivity.MultinetworkPolicyTrackerTest Change-Id: Ib3fef2982b50ac0642da9bca46123651f8e0a228
This commit is contained in:
parent
f69a211d6f
commit
99bf60dee5
1 changed files with 1 additions and 6 deletions
|
|
@ -79,12 +79,7 @@ class MultinetworkPolicyTrackerTest {
|
|||
companion object {
|
||||
@Parameterized.Parameters
|
||||
@JvmStatic
|
||||
fun data(): Iterable<Any?> {
|
||||
return mutableListOf(
|
||||
false,
|
||||
true
|
||||
)
|
||||
}
|
||||
fun data() = listOf(false, true)
|
||||
}
|
||||
|
||||
// This wrapper class prevents JUnit from attempting to load unsupported system classes
|
||||
|
|
|
|||
Loading…
Reference in a new issue