Lines Matching refs:GetBool
359 TEST_F(KeyFileStoreTest, GetBool) { in TEST_F() argument
372 EXPECT_TRUE(store_->GetBool(kGroup, kKeyFalse, &value)); in TEST_F()
377 EXPECT_TRUE(store_->GetBool(kGroup, kKeyTrue, &value)); in TEST_F()
382 EXPECT_FALSE(store_->GetBool(kGroup, kKeyBad, &value)); in TEST_F()
383 EXPECT_FALSE(store_->GetBool(kGroup, "unknown", &value)); in TEST_F()
384 EXPECT_FALSE(store_->GetBool("unknown", kKeyTrue, &value)); in TEST_F()
386 EXPECT_TRUE(store_->GetBool(kGroup, kKeyFalse, nullptr)); in TEST_F()
808 EXPECT_TRUE(store_->GetBool(kGroupB, kKeyBool, &value)); in TEST_F()
810 EXPECT_TRUE(store_->GetBool(kGroupC, kKeyBool, &value)); in TEST_F()
812 EXPECT_FALSE(store_->GetBool(kGroupA, kKeyBool, &value)); in TEST_F()
862 EXPECT_TRUE(store_->GetBool(kGroupB, kKeyBool, &value)); in TEST_F()
864 EXPECT_TRUE(store_->GetBool(kGroupC, kKeyBool, &value)); in TEST_F()
866 EXPECT_FALSE(store_->GetBool(kGroupA, kKeyBool, &value)); in TEST_F()