Merge "Update BackgroundDexOptServiceIntegrationTests" am: f3e5403f71
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1518643 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Id8cd8320c32b84557031d19aceefb8f7fca1db45
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user