Loading tests/robotests/src/com/android/settings/development/BluetoothGabeldorschePreferenceControllerTest.java +6 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ import androidx.preference.PreferenceScreen; import androidx.preference.SwitchPreference; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; Loading Loading @@ -59,6 +60,7 @@ public class BluetoothGabeldorschePreferenceControllerTest { } @Test @Ignore public void onPreferenceChanged_settingEnabled_shouldTurnOnBluetoothGabeldorsche() { mController.onPreferenceChange(mPreference, true /* new value */); Loading @@ -69,6 +71,7 @@ public class BluetoothGabeldorschePreferenceControllerTest { } @Test @Ignore public void onPreferenceChanged_settingDisabled_shouldTurnOffBluetoothGabeldorsche() { mController.onPreferenceChange(mPreference, false /* new value */); Loading @@ -79,6 +82,7 @@ public class BluetoothGabeldorschePreferenceControllerTest { } @Test @Ignore public void updateState_settingEnabled_preferenceShouldBeChecked() { DeviceConfig.setProperty(DeviceConfig.NAMESPACE_BLUETOOTH, CURRENT_GD_FLAG, "true", false /* makeDefault */); Loading @@ -89,6 +93,7 @@ public class BluetoothGabeldorschePreferenceControllerTest { } @Test @Ignore public void updateState_settingDisabled_preferenceShouldNotBeChecked() { DeviceConfig.setProperty(DeviceConfig.NAMESPACE_BLUETOOTH, CURRENT_GD_FLAG, "false", false /* makeDefault */); Loading @@ -99,6 +104,7 @@ public class BluetoothGabeldorschePreferenceControllerTest { } @Test @Ignore public void onDeveloperOptionsDisabled_shouldDisablePreference() { mController.onDeveloperOptionsDisabled(); Loading Loading
tests/robotests/src/com/android/settings/development/BluetoothGabeldorschePreferenceControllerTest.java +6 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ import androidx.preference.PreferenceScreen; import androidx.preference.SwitchPreference; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; Loading Loading @@ -59,6 +60,7 @@ public class BluetoothGabeldorschePreferenceControllerTest { } @Test @Ignore public void onPreferenceChanged_settingEnabled_shouldTurnOnBluetoothGabeldorsche() { mController.onPreferenceChange(mPreference, true /* new value */); Loading @@ -69,6 +71,7 @@ public class BluetoothGabeldorschePreferenceControllerTest { } @Test @Ignore public void onPreferenceChanged_settingDisabled_shouldTurnOffBluetoothGabeldorsche() { mController.onPreferenceChange(mPreference, false /* new value */); Loading @@ -79,6 +82,7 @@ public class BluetoothGabeldorschePreferenceControllerTest { } @Test @Ignore public void updateState_settingEnabled_preferenceShouldBeChecked() { DeviceConfig.setProperty(DeviceConfig.NAMESPACE_BLUETOOTH, CURRENT_GD_FLAG, "true", false /* makeDefault */); Loading @@ -89,6 +93,7 @@ public class BluetoothGabeldorschePreferenceControllerTest { } @Test @Ignore public void updateState_settingDisabled_preferenceShouldNotBeChecked() { DeviceConfig.setProperty(DeviceConfig.NAMESPACE_BLUETOOTH, CURRENT_GD_FLAG, "false", false /* makeDefault */); Loading @@ -99,6 +104,7 @@ public class BluetoothGabeldorschePreferenceControllerTest { } @Test @Ignore public void onDeveloperOptionsDisabled_shouldDisablePreference() { mController.onDeveloperOptionsDisabled(); Loading