commit | 0dbf719b3d6ba87e612f8c1db693966bef02134c | [log] [tgz] |
---|---|---|
author | Nikita Ioffe <ioffe@google.com> | Thu Mar 23 17:28:26 2023 +0000 |
committer | Nikita Ioffe <ioffe@google.com> | Thu Mar 23 17:28:26 2023 +0000 |
tree | 58b488d87bcd5770a7cc0f3f7b9ff5b505d83361 | |
parent | 3a747a655c57b543a899d043e911a29089f03d39 [diff] |
Test that AVF-enabled devices also support updatable APEXes Bug: 274898309 Test: atest MicrodroidTests Change-Id: I8007849d3b64f919aee8ca45b729b74527e8af62
diff --git a/tests/testapk/src/java/com/android/microdroid/test/MicrodroidTests.java b/tests/testapk/src/java/com/android/microdroid/test/MicrodroidTests.java index 542f595..d8e80dd 100644 --- a/tests/testapk/src/java/com/android/microdroid/test/MicrodroidTests.java +++ b/tests/testapk/src/java/com/android/microdroid/test/MicrodroidTests.java
@@ -635,6 +635,14 @@ @Test @CddTest(requirements = {"9.17/C-1-1"}) + public void testAvfRequiresUpdatableApex() throws Exception { + assertWithMessage("Devices that support AVF must also support updatable APEX") + .that(SystemProperties.getBoolean("ro.apex.updatable", false)) + .isTrue(); + } + + @Test + @CddTest(requirements = {"9.17/C-1-1"}) public void vmmGetAndCreate() throws Exception { assumeSupportedDevice();