Loading tests/robotests/src/com/android/settings/bluetooth/BluetoothDetailsDataSyncControllerTest.java +8 −0 Original line number Diff line number Diff line Loading @@ -91,6 +91,14 @@ public class BluetoothDetailsDataSyncControllerTest extends BluetoothDetailsCont assertThat(mController.isAvailable()).isTrue(); } @Test public void refresh_noAssociations_checkPreferenceInvisible() { mController.mAssociationId = DUMMY_ASSOCIATION_ID; mController.refresh(); assertThat(mPermSyncPreference.isVisible()).isFalse(); } @Test public void refresh_permSyncNull_checkPreferenceInvisible() { mPermissionSyncRequest = null; Loading Loading
tests/robotests/src/com/android/settings/bluetooth/BluetoothDetailsDataSyncControllerTest.java +8 −0 Original line number Diff line number Diff line Loading @@ -91,6 +91,14 @@ public class BluetoothDetailsDataSyncControllerTest extends BluetoothDetailsCont assertThat(mController.isAvailable()).isTrue(); } @Test public void refresh_noAssociations_checkPreferenceInvisible() { mController.mAssociationId = DUMMY_ASSOCIATION_ID; mController.refresh(); assertThat(mPermSyncPreference.isVisible()).isFalse(); } @Test public void refresh_permSyncNull_checkPreferenceInvisible() { mPermissionSyncRequest = null; Loading