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
220 ASSERT_TRUE(SetValue(kKey, test_data)); in TEST_F()
222 EXPECT_TRUE(prefs_.GetString(kKey, &value)); in TEST_F()
238 EXPECT_TRUE(prefs_.SetString(kKey, kValue)); in TEST_F()
240 EXPECT_TRUE(base::ReadFileToString(prefs_dir_.Append(kKey), &value)); in TEST_F()
254 EXPECT_TRUE(prefs_.SetString(kKey, kValue)); in TEST_F()
256 EXPECT_TRUE(base::ReadFileToString(subdir.Append(kKey), &value)); in TEST_F()
262 EXPECT_FALSE(prefs_.SetString(kKey, "test value")); in TEST_F()
266 base::CreateDirectory(prefs_dir_.Append(kKey)); in TEST_F()
267 EXPECT_FALSE(prefs_.SetString(kKey, "test value")); in TEST_F()
[all …]