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

Commit ea6fccbd authored by Rachel Lee's avatar Rachel Lee
Browse files

Remove a legacy flag test

There are other legacy flag tests but in order to address p0 flake, let's just remove this test first.

Test: presubmit
Bug: 420508934
Flag: EXEMPT test only
Change-Id: I0bc0e67ef75b6ad65c5b911e713574bea3645eae
parent 3c5d29be
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -62,11 +62,6 @@ TEST_F(FlagManagerTest, isSingleton) {
    EXPECT_EQ(&FlagManager::getInstance(), &FlagManager::getInstance());
}

TEST_F(FlagManagerTest, legacyCreashesIfQueriedBeforeBoot) {
    mFlagManager.markBootIncomplete();
    EXPECT_DEATH(FlagManager::getInstance().test_flag(), "");
}

TEST_F(FlagManagerTest, legacyReturnsOverride) {
    EXPECT_CALL(mFlagManager, getBoolProperty).WillOnce(Return(true));
    EXPECT_EQ(true, mFlagManager.test_flag());