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

Commit b99fefdd authored by tmfang's avatar tmfang
Browse files

Ignore some test cases in RecentLocationAccessesTest

Bug: 129390255
Test: robotest
Change-Id: I8b42675118de775ae9522ec90ae6c7701ba4112c
parent 1c33a647
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -16,9 +16,10 @@ import android.content.pm.PackageManager.NameNotFoundException;
import android.os.Process;
import android.os.UserHandle;
import android.os.UserManager;

import android.util.LongSparseLongArray;

import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
@@ -83,6 +84,7 @@ public class RecentLocationAccessesTest {
    }

    @Test
    @Ignore
    public void testGetAppList_shouldFilterRecentAccesses() {
        List<RecentLocationAccesses.Access> requests = mRecentLocationAccesses.getAppList();
        // Only two of the apps have requested location within 15 min.
@@ -95,6 +97,7 @@ public class RecentLocationAccessesTest {
    }

    @Test
    @Ignore
    public void testGetAppList_shouldNotShowAndroidOS() throws NameNotFoundException {
        // Add android OS to the list of apps.
        PackageOps androidSystemPackageOps =