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
Change-Id: I3d4f96e27586cbf647d301a4ee7afd32576bbf41
This commit is contained in:
Chris Wailes
2020-12-04 15:14:33 -08:00
parent 77ac1a413a
commit 0a0623f32e

View File

@@ -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();