Home
last modified time | relevance | path

Searched refs:TEST_INETADDR (Results 1 – 1 of 1) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpLeaseTest.kt38 private val TEST_INETADDR = parseNumericAddress("192.168.42.123") as Inet4Address constant
46 val lease = DhcpLease(TEST_CLIENT_ID, TEST_HWADDR, TEST_INETADDR, TEST_PREFIXLEN, in testToParcelable()
54 val lease = DhcpLease(null, TEST_HWADDR, TEST_INETADDR, TEST_PREFIXLEN, TEST_EXPTIME, null) in testToParcelable_NullFields()
60 val lease = DhcpLease(TEST_CLIENT_ID, TEST_HWADDR, TEST_INETADDR, TEST_PREFIXLEN, in testEquals()
62 assertEquals(lease, DhcpLease(TEST_CLIENT_ID, TEST_HWADDR, TEST_INETADDR, TEST_PREFIXLEN, in testEquals()
66 assertNotEquals(lease, DhcpLease(null, TEST_HWADDR, TEST_INETADDR, TEST_PREFIXLEN, in testEquals()
68 assertNotEquals(lease, DhcpLease(byteArrayOf(42), TEST_HWADDR, TEST_INETADDR, in testEquals()
73 TEST_INETADDR, TEST_PREFIXLEN, TEST_EXPTIME, TEST_HOSTNAME)) in testEquals()
81 assertNotEquals(lease, DhcpLease(TEST_CLIENT_ID, TEST_HWADDR, TEST_INETADDR, 24, in testEquals()
85 assertNotEquals(lease, DhcpLease(TEST_CLIENT_ID, TEST_HWADDR, TEST_INETADDR, TEST_PREFIXLEN, in testEquals()
[all …]