Searched refs:expectedPrefix (Results 1 – 3 of 3) sorted by relevance
429 private void assertDhcpStarted(IpPrefix expectedPrefix) throws Exception { in assertDhcpStarted() argument434 assertTrue(expectedPrefix.contains(intToInet4AddressHTH(params.serverAddr))); in assertDhcpStarted()435 assertEquals(expectedPrefix.getPrefixLength(), params.serverAddrPrefixLength); in assertDhcpStarted()
785 for (String expectedPrefix : expected) { in assertPrefixSet()788 String.format("Failed expectation: %s prefix: %s", errStr, expectedPrefix), in assertPrefixSet()789 expectation, prefixes.contains(new IpPrefix(expectedPrefix))); in assertPrefixSet()
2223 const char expectedPrefix[] = "device@"; in parseDeviceName() local2225 if (name.find(expectedPrefix) != 0) { in parseDeviceName()2228 __FUNCTION__, name.c_str(), expectedPrefix); in parseDeviceName()2233 constexpr std::string::size_type atIdx = sizeof(expectedPrefix) - 2; in parseDeviceName()