commit | 801563328a00778030c51e5d142c1c77d9c2a751 | [log] [tgz] |
---|---|---|
author | Uwais Ashraf <uwaisashraf@google.com> | Tue Jun 04 08:54:44 2024 +0000 |
committer | Uwais Ashraf <uwaisashraf@google.com> | Tue Jun 04 11:03:34 2024 +0000 |
tree | 19e8b24d7f318fa28c9e9e3596936cc820a8421f | |
parent | 6b65956a5c2337e46d24e4d8537dadb846905091 [diff] |
Allow DeviceProfile tests to run on TreeHugger Robolectric device Bug: 325088842 Test: Presubmit passes Flag: EXEMPT test-only Change-Id: Id2856b2016b2e1ba467c7b8e830631f5253d6b8c
diff --git a/tests/multivalentTests/src/com/android/launcher3/AbstractDeviceProfileTest.kt b/tests/multivalentTests/src/com/android/launcher3/AbstractDeviceProfileTest.kt index e378733..3405635 100644 --- a/tests/multivalentTests/src/com/android/launcher3/AbstractDeviceProfileTest.kt +++ b/tests/multivalentTests/src/com/android/launcher3/AbstractDeviceProfileTest.kt
@@ -57,7 +57,7 @@ * * For an implementation that mocks InvariantDeviceProfile, use [FakeInvariantDeviceProfileTest] */ -@AllowedDevices(allowed = [DeviceProduct.CF_PHONE]) +@AllowedDevices(allowed = [DeviceProduct.CF_PHONE, DeviceProduct.HOST_SIDE_X86_64]) @IgnoreLimit(ignoreLimit = BuildConfig.IS_STUDIO_BUILD) abstract class AbstractDeviceProfileTest { protected val testContext: Context = InstrumentationRegistry.getInstrumentation().context