Home
last modified time | relevance | path

Searched refs:kKey (Results 1 – 1 of 1) sorted by relevance

/system/update_engine/common/
Dprefs_unittest.cc42 const char kKey[] = "test-key"; variable
203 ASSERT_TRUE(SetValue(kKey, test_data)); in TEST_F()
205 EXPECT_TRUE(prefs_.GetString(kKey, &value)); in TEST_F()
221 EXPECT_TRUE(prefs_.SetString(kKey, kValue)); in TEST_F()
223 EXPECT_TRUE(base::ReadFileToString(prefs_dir_.Append(kKey), &value)); in TEST_F()
237 EXPECT_TRUE(prefs_.SetString(kKey, kValue)); in TEST_F()
239 EXPECT_TRUE(base::ReadFileToString(subdir.Append(kKey), &value)); in TEST_F()
245 EXPECT_FALSE(prefs_.SetString(kKey, "test value")); in TEST_F()
249 base::CreateDirectory(prefs_dir_.Append(kKey)); in TEST_F()
250 EXPECT_FALSE(prefs_.SetString(kKey, "test value")); in TEST_F()
[all …]