Lines Matching refs:SetString

64     EXPECT_TRUE(common_prefs_->SetString(key0, ""));  in MultiNamespaceKeyTest()
65 EXPECT_TRUE(common_prefs_->SetString(key0corner, "")); in MultiNamespaceKeyTest()
66 EXPECT_TRUE(common_prefs_->SetString(key1A, "")); in MultiNamespaceKeyTest()
67 EXPECT_TRUE(common_prefs_->SetString(key1B, "")); in MultiNamespaceKeyTest()
68 EXPECT_TRUE(common_prefs_->SetString(key2, "")); in MultiNamespaceKeyTest()
69 EXPECT_TRUE(common_prefs_->SetString(key2corner, "")); in MultiNamespaceKeyTest()
125 EXPECT_TRUE(common_prefs_->SetString(key1A, "fp_1A")); in MultiNamespaceKeyTest()
127 EXPECT_TRUE(common_prefs_->SetString(key1B, "fp_1B")); in MultiNamespaceKeyTest()
129 EXPECT_TRUE(common_prefs_->SetString(key2A, "fp_A2")); in MultiNamespaceKeyTest()
236 TEST_F(PrefsTest, SetString) { in TEST_F() argument
238 EXPECT_TRUE(prefs_.SetString(kKey, kValue)); in TEST_F()
246 EXPECT_FALSE(prefs_.SetString(kKeyWithDots, "some value")); in TEST_F()
254 EXPECT_TRUE(prefs_.SetString(kKey, kValue)); in TEST_F()
262 EXPECT_FALSE(prefs_.SetString(kKey, "test value")); in TEST_F()
267 EXPECT_FALSE(prefs_.SetString(kKey, "test value")); in TEST_F()
449 EXPECT_TRUE(prefs_.SetString(kFpKey, "3.000")); in TEST_F()
450 EXPECT_TRUE(prefs_.SetString(kOtherKey, "not_fp_val")); in TEST_F()
453 EXPECT_TRUE(prefs_.SetString(key1_fp, "3.7")); in TEST_F()
455 EXPECT_TRUE(prefs_.SetString(key_not_fp, "not_fp_val")); in TEST_F()
457 EXPECT_TRUE(prefs_.SetString(key2_fp, "3.9")); in TEST_F()
459 EXPECT_TRUE(prefs_.SetString(key3_fp, "3.45")); in TEST_F()
463 EXPECT_TRUE(prefs_.SetString(key_middle_fp, "not_fp_val")); in TEST_F()
465 EXPECT_TRUE(prefs_.SetString(key_end_not_fp, "not_fp_val")); in TEST_F()
488 EXPECT_TRUE(prefs_.SetString(kFpKey, "3.000")); in TEST_F()
491 EXPECT_TRUE(prefs_.SetString(key1_fp, "3.7")); in TEST_F()
493 EXPECT_TRUE(prefs_.SetString(key2_fp, "7.45")); in TEST_F()
495 EXPECT_TRUE(prefs_.SetString(key3_fp, "7.45")); in TEST_F()
520 prefs_.SetString(kKey, "value"); in TEST_F()
533 prefs_.SetString(key1, "value"); in TEST_F()
551 prefs_.SetString(kKey, "value"); in TEST_F()
563 EXPECT_TRUE(prefs_.SetString(kKey, "value")); in TEST_F()
565 EXPECT_TRUE(prefs_.SetString(kKey, "other value")); in TEST_F()
567 EXPECT_TRUE(prefs_.SetString(kKey, "yet another value")); in TEST_F()
577 EXPECT_FALSE(prefs_.SetString(kInvalidKey, "value")); in TEST_F()