Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e3e4ce3 authored by Edgar Wang's avatar Edgar Wang
Browse files

Enable ignored test cases of LocationSettingsFooterPreferenceControllerTest

UserManager interface changed, we need to handle it in ShadowUserManager

Bug: 215047320
Change-Id: Ia58825a9115b51477291c0ecacec8e3b56163b3c
Test: robotest
parent 04f6983d
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -46,7 +46,6 @@ import com.android.settingslib.core.lifecycle.Lifecycle;
import com.android.settingslib.widget.FooterPreference;

import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.ArgumentCaptor;
@@ -168,7 +167,6 @@ public class LocationSettingsFooterPreferenceControllerTest {
    }

    @Test
    @Ignore
    public void onLocationModeChanged_on_setTitle() {
        final List<ResolveInfo> testResolveInfos = new ArrayList<>();
        testResolveInfos.add(