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

Commit 0efb119d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't fail the tests if per-freq cpu times are not available."

parents 8e181791 82b3a4dd
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -104,7 +104,9 @@ public class BstatsCpuTimesValidationTest {

    @Test
    public void testCpuFreqTimes() throws Exception {
        assumeTrue(sCpuFreqTimesAvailable);
        if (!sCpuFreqTimesAvailable) {
            return;
        }

        batteryOnScreenOn();
        forceStop();
@@ -126,7 +128,9 @@ public class BstatsCpuTimesValidationTest {

    @Test
    public void testCpuFreqTimes_screenOff() throws Exception {
        assumeTrue(sCpuFreqTimesAvailable);
        if (!sCpuFreqTimesAvailable) {
            return;
        }

        batteryOnScreenOff();
        forceStop();
@@ -154,7 +158,9 @@ public class BstatsCpuTimesValidationTest {

    @Test
    public void testCpuFreqTimes_isolatedProcess() throws Exception {
        assumeTrue(sCpuFreqTimesAvailable);
        if (!sCpuFreqTimesAvailable) {
            return;
        }

        batteryOnScreenOn();
        forceStop();