Searched refs:testServer (Results 1 – 2 of 2) sorted by relevance
48 private val testServer: TestDnsServer = TestDnsServer(network, localAddr) constant in com.android.testutils.TestDnsServerTest52 if (testServer.isAlive) testServer.stop() in tearDown()66 assertFailsWith<IllegalStateException> { testServer.stop() } in testStartStop()67 testServer.start() in testStartStop()68 assertTrue(testServer.isAlive) in testStartStop()69 assertFailsWith<IllegalStateException> { testServer.start() } in testStartStop()70 testServer.stop() in testStartStop()71 assertFalse(testServer.isAlive) in testStartStop()72 assertFailsWith<IllegalStateException> { testServer.stop() } in testStartStop()74 assertFailsWith<IllegalStateException> { testServer.start() } in testStartStop()[all …]
72 final String testServer = testIpv6 ? TEST_SERVER_ADDR_V6 : TEST_SERVER_ADDR_V4; in getTestIkeSessionParams() local73 final InetAddress addr = InetAddresses.parseNumericAddress(testServer); in getTestIkeSessionParams()76 .setServerHostname(testServer) in getTestIkeSessionParams()