diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2023-02-27 15:23:26 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-02-27 15:23:26 +0000 |
commit | 1bf39e417691590771784002a2de17308afcd751 (patch) | |
tree | 04c4afaa2b450e27c06bdb254b9810b9ce84bbbd | |
parent | f333f336c6dd77353352befea5c414c0de88c018 (diff) | |
parent | 6cc74fb4d2e07ecb7fa205d883dfc1e2ac3140ce (diff) | |
download | cts-1bf39e417691590771784002a2de17308afcd751.tar.gz |
Merge "Disable failing DMRH tests for now" into android13-tests-dev am: c5dc89869c am: 6cc74fb4d2
Original change: https://android-review.googlesource.com/c/platform/cts/+/2440941
Change-Id: I128d70ada294fe1e0720fec3357db4fc5b4f972a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | tests/devicepolicy/src/android/devicepolicy/cts/DevicePolicyManagementRoleHolderTest.java | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/devicepolicy/src/android/devicepolicy/cts/DevicePolicyManagementRoleHolderTest.java b/tests/devicepolicy/src/android/devicepolicy/cts/DevicePolicyManagementRoleHolderTest.java index f85d895d643..31eaebecfd8 100644 --- a/tests/devicepolicy/src/android/devicepolicy/cts/DevicePolicyManagementRoleHolderTest.java +++ b/tests/devicepolicy/src/android/devicepolicy/cts/DevicePolicyManagementRoleHolderTest.java @@ -71,13 +71,14 @@ import com.android.eventlib.truth.EventLogsSubject; import com.android.queryable.queries.ActivityQuery; import org.junit.ClassRule; +import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWith; // TODO(b/228016400): replace usages of createAndProvisionManagedProfile with a nene API @RunWith(BedsteadJUnit4.class) -public class DevicePolicyManagementRoleHolderTest { +public class DevicePolicyManagementRoleHolderTest { // TODO: This is crashing on non-headless - figure it out - on headless it d't run with btest so follow up.... @ClassRule @Rule public static final DeviceState sDeviceState = new DeviceState(); @@ -135,6 +136,7 @@ public class DevicePolicyManagementRoleHolderTest { + ".TestAppAccountAuthenticatorService")) .get(); + @Ignore("b/268616097 fix issue with pre-existing accounts on the device") @Postsubmit(reason = "new test") @RequireFeature(FEATURE_MANAGED_USERS) @EnsureHasPermission(MANAGE_PROFILE_AND_DEVICE_OWNERS) @@ -174,6 +176,7 @@ public class DevicePolicyManagementRoleHolderTest { } } + @Ignore("b/268616097 fix issue with pre-existing accounts on the device") @Postsubmit(reason = "new test") @RequireFeature(FEATURE_MANAGED_USERS) @EnsureHasDeviceOwner @@ -216,6 +219,7 @@ public class DevicePolicyManagementRoleHolderTest { } } + @Ignore("b/268616097 fix issue with pre-existing accounts on the device") @Postsubmit(reason = "new test") @RequireFeature(FEATURE_MANAGED_USERS) @EnsureHasPermission(MANAGE_PROFILE_AND_DEVICE_OWNERS) @@ -246,6 +250,7 @@ public class DevicePolicyManagementRoleHolderTest { } } + @Ignore("b/268616097 fix issue with pre-existing accounts on the device") @Postsubmit(reason = "new test") @RequireFeature(FEATURE_MANAGED_USERS) @EnsureHasPermission(MANAGE_PROFILE_AND_DEVICE_OWNERS) @@ -277,6 +282,7 @@ public class DevicePolicyManagementRoleHolderTest { } } + @Ignore("b/268616097 fix issue with pre-existing accounts on the device") @Postsubmit(reason = "new test") @RequireFeature(FEATURE_MANAGED_USERS) @EnsureHasPermission(MANAGE_PROFILE_AND_DEVICE_OWNERS) @@ -308,6 +314,7 @@ public class DevicePolicyManagementRoleHolderTest { } } + @Ignore("b/268616097 fix issue with pre-existing accounts on the device") @Postsubmit(reason = "New test") @Test @EnsureHasPermission(MANAGE_ROLE_HOLDERS) @@ -326,6 +333,7 @@ public class DevicePolicyManagementRoleHolderTest { } // TODO(b/222669810): add ensureHasNoAccounts annotation + @Ignore("b/268616097 fix issue with pre-existing accounts on the device") @Postsubmit(reason = "New test") @Test @EnsureHasPermission(MANAGE_ROLE_HOLDERS) @@ -350,6 +358,7 @@ public class DevicePolicyManagementRoleHolderTest { } // TODO(b/222669810): add ensureHasNoAccounts annotation + @Ignore("b/268616097 fix issue with pre-existing accounts on the device") @Postsubmit(reason = "New test") @Test @RequireFeature(FEATURE_MANAGED_USERS) @@ -373,6 +382,7 @@ public class DevicePolicyManagementRoleHolderTest { .isFalse(); } + @Ignore("b/268616097 fix issue with pre-existing accounts on the device") @Postsubmit(reason = "New test") @Test @EnsureHasPermission(MANAGE_ROLE_HOLDERS) @@ -393,6 +403,7 @@ public class DevicePolicyManagementRoleHolderTest { } } + @Ignore("b/268616097 fix issue with pre-existing accounts on the device") @Postsubmit(reason = "New test") @Test @EnsureDoesNotHavePermission(MANAGE_ROLE_HOLDERS) |