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

Commit f32d41bd authored by David Anderson's avatar David Anderson Committed by Gerrit Code Review
Browse files

Merge "boot: Relax getSnapshotMergeStatus test."

parents 79f81510 f0fbfdd1
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -76,9 +76,13 @@ TEST_P(BootHidlTest, SetSnapshotMergeStatus) {
    for (const auto value : ValidMergeStatusValues()) {
        EXPECT_TRUE(boot->setSnapshotMergeStatus(value).withDefault(false));
        auto status = boot->getSnapshotMergeStatus();
        if (value == MergeStatus::SNAPSHOTTED) {
            EXPECT_TRUE(status == MergeStatus::SNAPSHOTTED || status == MergeStatus::NONE);
        } else {
            EXPECT_EQ(status, value);
        }
    }
}

INSTANTIATE_TEST_SUITE_P(
        PerInstance, BootHidlTest,