From 551f8b20e14d31e0e711ba1849e9c4673457fb61 Mon Sep 17 00:00:00 2001 From: kholoud mohamed Date: Thu, 15 Apr 2021 15:48:28 +0100 Subject: [PATCH] Enable ignored test Test started failing after a change in PermissionChecker that started using an unshadowed API in AppopsManager. Reenabling the test after fixign that. Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.applications.specialaccess.interactacrossprofiles.InteractAcrossProfilesDetailsTest Fixes: 184238335 Change-Id: I3dc97366671cb1ff8b6a3482b02f6e2148bdda40 --- .../InteractAcrossProfilesDetailsTest.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/robotests/src/com/android/settings/applications/specialaccess/interactacrossprofiles/InteractAcrossProfilesDetailsTest.java b/tests/robotests/src/com/android/settings/applications/specialaccess/interactacrossprofiles/InteractAcrossProfilesDetailsTest.java index 197fdffec29..c5ea21fc8f5 100644 --- a/tests/robotests/src/com/android/settings/applications/specialaccess/interactacrossprofiles/InteractAcrossProfilesDetailsTest.java +++ b/tests/robotests/src/com/android/settings/applications/specialaccess/interactacrossprofiles/InteractAcrossProfilesDetailsTest.java @@ -34,7 +34,6 @@ import com.android.settings.R; import com.google.common.collect.ImmutableList; -import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.RobolectricTestRunner; @@ -80,7 +79,6 @@ public class InteractAcrossProfilesDetailsTest { } @Test - @Ignore public void getPreferenceSummary_appOpNotAllowed_returnsNotAllowed() { shadowOf(mUserManager).addUser( PERSONAL_PROFILE_ID, "personal-profile"/* name */, 0/* flags */);