Searched refs:assertStaticConfigurationFails (Results 1 – 1 of 1) sorted by relevance
79 assertStaticConfigurationFails("ip=192.0.2.1/24 gateway= blah=20.20.20.20"); // Unknown key in createStaticIpConfiguration_Bad()80 assertStaticConfigurationFails("ip=192.0.2.1"); // mask is missing in createStaticIpConfiguration_Bad()81 assertStaticConfigurationFails("ip=a.b.c"); // not a valid ip address in createStaticIpConfiguration_Bad()82 assertStaticConfigurationFails("dns=4.4.4.4,1.2.3.A"); // not valid ip address in dns in createStaticIpConfiguration_Bad()83 assertStaticConfigurationFails("="); // Key and value is empty in createStaticIpConfiguration_Bad()84 assertStaticConfigurationFails("ip="); // Value is empty in createStaticIpConfiguration_Bad()85 assertStaticConfigurationFails("ip=192.0.2.1/24 gateway="); // Gateway is empty in createStaticIpConfiguration_Bad()88 private void assertStaticConfigurationFails(String config) { in assertStaticConfigurationFails() method in EthernetTrackerTest