Ignore failing tests under com.android.settings.location
Bug: 313540388 Test: atest Change-Id: I10eb8818d1a3737702df0eeb6497d3c741ba7972
This commit is contained in:
@@ -44,6 +44,7 @@ import com.android.settings.widget.RestrictedAppPreference;
|
|||||||
import com.android.settingslib.core.lifecycle.Lifecycle;
|
import com.android.settingslib.core.lifecycle.Lifecycle;
|
||||||
|
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
|
import org.junit.Ignore;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
import org.mockito.Answers;
|
import org.mockito.Answers;
|
||||||
@@ -114,6 +115,7 @@ public class LocationInjectedServicesPreferenceControllerTest {
|
|||||||
verify(mContext).unregisterReceiver(mController.mInjectedSettingsReceiver);
|
verify(mContext).unregisterReceiver(mController.mInjectedSettingsReceiver);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Ignore("b/313540388")
|
||||||
@Test
|
@Test
|
||||||
public void workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly() {
|
public void workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly() {
|
||||||
final int fakeWorkProfileId = 123;
|
final int fakeWorkProfileId = 123;
|
||||||
@@ -166,6 +168,7 @@ public class LocationInjectedServicesPreferenceControllerTest {
|
|||||||
verify(mSettingsInjector).reloadStatusMessages();
|
verify(mSettingsInjector).reloadStatusMessages();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Ignore("b/313540388")
|
||||||
@Test
|
@Test
|
||||||
public void withUserRestriction_shouldDisableLocationAccuracy() {
|
public void withUserRestriction_shouldDisableLocationAccuracy() {
|
||||||
final List<Preference> preferences = new ArrayList<>();
|
final List<Preference> preferences = new ArrayList<>();
|
||||||
|
Reference in New Issue
Block a user