Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a0623f3 authored by Chris Wailes's avatar Chris Wailes
Browse files

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
parent 77ac1a41
Loading
Loading
Loading
Loading
+6 −6
Original line number Original line Diff line number Diff line
@@ -264,9 +264,9 @@ public final class BackgroundDexOptServiceIntegrationTests {
            // Set time to future.
            // Set time to future.
            setTimeFutureDays(deltaDays);
            setTimeFutureDays(deltaDays);


            // Set filter to quicken.
            // Set filter to verify.
            compilePackageWithFilter(PACKAGE_NAME, "quicken");
            compilePackageWithFilter(PACKAGE_NAME, "verify");
            Assert.assertEquals("quicken", getCompilerFilter(PACKAGE_NAME));
            Assert.assertEquals("verify", getCompilerFilter(PACKAGE_NAME));


            // Fill up storage to trigger low storage threshold.
            // Fill up storage to trigger low storage threshold.
            fillUpToLowStorage();
            fillUpToLowStorage();
@@ -290,9 +290,9 @@ public final class BackgroundDexOptServiceIntegrationTests {
            // Set time to future.
            // Set time to future.
            setTimeFutureDays(deltaDays);
            setTimeFutureDays(deltaDays);


            // Set filter to quicken.
            // Set filter to speed-profile.
            compilePackageWithFilter(PACKAGE_NAME, "quicken");
            compilePackageWithFilter(PACKAGE_NAME, "speed-profile");
            Assert.assertEquals("quicken", getCompilerFilter(PACKAGE_NAME));
            Assert.assertEquals("speed-profile", getCompilerFilter(PACKAGE_NAME));


            // Fill up storage to trigger low storage threshold.
            // Fill up storage to trigger low storage threshold.
            fillUpToLowStorage();
            fillUpToLowStorage();