OSDN Git Service

Check the missing useHomeWfMode case
authorYouming Ye <paulye@google.com>
Tue, 11 Jun 2019 22:25:52 +0000 (15:25 -0700)
committerJosh Hou <joshhou@google.com>
Mon, 28 Oct 2019 10:16:24 +0000 (10:16 +0000)
Bug: 133812904
Test: Build
Change-Id: If89c67c0595808a1339517c6084f1d1e23f5974b
Merged-In: If89c67c0595808a1339517c6084f1d1e23f5974b

tests/robotests/src/com/android/settings/network/telephony/WifiCallingPreferenceControllerTest.java

index f795d61..57541af 100644 (file)
@@ -127,7 +127,7 @@ public class WifiCallingPreferenceControllerTest {
     }
 
     @Test
-    public void updateState_nonRoaming_wfcCellularPreferred() {
+    public void updateState_wfcNonRoamingByConfig() {
         assertNull(mController.mSimCallManager);
         mCarrierConfig.putBoolean(
                 CarrierConfigManager.KEY_USE_WFC_HOME_NETWORK_MODE_IN_ROAMING_NETWORK_BOOL, true);
@@ -147,7 +147,7 @@ public class WifiCallingPreferenceControllerTest {
     }
 
     @Test
-    public void updateState_roaming_wfcWifiPreferred() {
+    public void updateState_wfcRoamingByConfig() {
         assertNull(mController.mSimCallManager);
         // useWfcHomeModeForRoaming is false by default. In order to check wfc in roaming mode. We
         // need the device roaming, and not using home mode in roaming network.