Separate multiple DNS addresses with newlines. am: 2716e841be
am: cf37a26795
Change-Id: I61bcfc20d43133c12fb8fe78d7bd968af1ee59eb
This commit is contained in:
@@ -433,7 +433,7 @@ public class WifiDetailPreferenceControllerTest {
|
||||
|
||||
displayAndResume();
|
||||
|
||||
verify(mockDnsPref).setDetailText("8.8.4.4,8.8.8.8");
|
||||
verify(mockDnsPref).setDetailText("8.8.4.4\n8.8.8.8");
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -545,7 +545,7 @@ public class WifiDetailPreferenceControllerTest {
|
||||
lp.addDnsServer(Constants.IPV4_DNS2);
|
||||
updateLinkProperties(lp);
|
||||
inOrder.verify(mockDnsPref).setDetailText(
|
||||
Constants.IPV4_DNS1.getHostAddress() + "," +
|
||||
Constants.IPV4_DNS1.getHostAddress() + "\n" +
|
||||
Constants.IPV4_DNS2.getHostAddress());
|
||||
inOrder.verify(mockDnsPref).setVisible(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user