• Home
  • Raw
  • Download

Lines Matching refs:SetString

63     EXPECT_TRUE(common_prefs_->SetString(key0, ""));  in MultiNamespaceKeyTest()
64 EXPECT_TRUE(common_prefs_->SetString(key0corner, "")); in MultiNamespaceKeyTest()
65 EXPECT_TRUE(common_prefs_->SetString(key1A, "")); in MultiNamespaceKeyTest()
66 EXPECT_TRUE(common_prefs_->SetString(key1B, "")); in MultiNamespaceKeyTest()
67 EXPECT_TRUE(common_prefs_->SetString(key2, "")); in MultiNamespaceKeyTest()
68 EXPECT_TRUE(common_prefs_->SetString(key2corner, "")); in MultiNamespaceKeyTest()
124 EXPECT_TRUE(common_prefs_->SetString(key1A, "fp_1A")); in MultiNamespaceKeyTest()
126 EXPECT_TRUE(common_prefs_->SetString(key1B, "fp_1B")); in MultiNamespaceKeyTest()
128 EXPECT_TRUE(common_prefs_->SetString(key2A, "fp_A2")); in MultiNamespaceKeyTest()
235 TEST_F(PrefsTest, SetString) { in TEST_F() argument
237 EXPECT_TRUE(prefs_.SetString(kKey, kValue)); in TEST_F()
245 EXPECT_FALSE(prefs_.SetString(kKeyWithDots, "some value")); in TEST_F()
253 EXPECT_TRUE(prefs_.SetString(kKey, kValue)); in TEST_F()
261 EXPECT_FALSE(prefs_.SetString(kKey, "test value")); in TEST_F()
266 EXPECT_FALSE(prefs_.SetString(kKey, "test value")); in TEST_F()
450 EXPECT_TRUE(prefs_.SetString(kFpKey, "3.000")); in TEST_F()
451 EXPECT_TRUE(prefs_.SetString(kOtherKey, "not_fp_val")); in TEST_F()
454 EXPECT_TRUE(prefs_.SetString(key1_fp, "3.7")); in TEST_F()
456 EXPECT_TRUE(prefs_.SetString(key_not_fp, "not_fp_val")); in TEST_F()
458 EXPECT_TRUE(prefs_.SetString(key2_fp, "3.9")); in TEST_F()
460 EXPECT_TRUE(prefs_.SetString(key3_fp, "3.45")); in TEST_F()
464 EXPECT_TRUE(prefs_.SetString(key_middle_fp, "not_fp_val")); in TEST_F()
466 EXPECT_TRUE(prefs_.SetString(key_end_not_fp, "not_fp_val")); in TEST_F()
489 EXPECT_TRUE(prefs_.SetString(kFpKey, "3.000")); in TEST_F()
492 EXPECT_TRUE(prefs_.SetString(key1_fp, "3.7")); in TEST_F()
494 EXPECT_TRUE(prefs_.SetString(key2_fp, "7.45")); in TEST_F()
496 EXPECT_TRUE(prefs_.SetString(key3_fp, "7.45")); in TEST_F()
521 prefs_.SetString(kKey, "value"); in TEST_F()
534 prefs_.SetString(key1, "value"); in TEST_F()
552 prefs_.SetString(kKey, "value"); in TEST_F()
564 EXPECT_TRUE(prefs_.SetString(kKey, "value")); in TEST_F()
566 EXPECT_TRUE(prefs_.SetString(kKey, "other value")); in TEST_F()
568 EXPECT_TRUE(prefs_.SetString(kKey, "yet another value")); in TEST_F()
578 EXPECT_FALSE(prefs_.SetString(kInvalidKey, "value")); in TEST_F()