diff options
| author | 2020-12-04 15:14:33 -0800 | |
|---|---|---|
| committer | 2020-12-07 11:44:29 -0800 | |
| commit | 17dd74a128f5a5c03ed7026235aab8433c49c199 (patch) | |
| tree | 4fb7a027ae421db844a816775e1278e590d40d7f | |
| parent | eb87a5267f4bc23646e37200695a444f9d13dc5f (diff) | |
Update BackgroundDexOptServiceIntegrationTests
This CL updates BackgroundDexOptServiceIntegrationTests to take into
account changes in compiler filters. Specifically, quicken is being
deprecated and had to be replaced in the test.
Test: adb BackgroundDexOptServiceIntegrationTests
Merged-In: I3d4f96e27586cbf647d301a4ee7afd32576bbf41
Change-Id: I3d4f96e27586cbf647d301a4ee7afd32576bbf41
| -rw-r--r-- | tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/BackgroundDexOptServiceIntegrationTests.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/BackgroundDexOptServiceIntegrationTests.java b/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/BackgroundDexOptServiceIntegrationTests.java index 7d826f7172da..e05816eb391f 100644 --- a/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/BackgroundDexOptServiceIntegrationTests.java +++ b/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/BackgroundDexOptServiceIntegrationTests.java @@ -264,9 +264,9 @@ public final class BackgroundDexOptServiceIntegrationTests { // Set time to future. setTimeFutureDays(deltaDays); - // Set filter to quicken. - compilePackageWithFilter(PACKAGE_NAME, "quicken"); - Assert.assertEquals("quicken", getCompilerFilter(PACKAGE_NAME)); + // Set filter to verify. + compilePackageWithFilter(PACKAGE_NAME, "verify"); + Assert.assertEquals("verify", getCompilerFilter(PACKAGE_NAME)); // Fill up storage to trigger low storage threshold. fillUpToLowStorage(); @@ -290,9 +290,9 @@ public final class BackgroundDexOptServiceIntegrationTests { // Set time to future. setTimeFutureDays(deltaDays); - // Set filter to quicken. - compilePackageWithFilter(PACKAGE_NAME, "quicken"); - Assert.assertEquals("quicken", getCompilerFilter(PACKAGE_NAME)); + // Set filter to speed-profile. + compilePackageWithFilter(PACKAGE_NAME, "speed-profile"); + Assert.assertEquals("speed-profile", getCompilerFilter(PACKAGE_NAME)); // Fill up storage to trigger low storage threshold. fillUpToLowStorage(); |