Home
last modified time | relevance | path

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

/system/update_engine/common/
Dprefs_unittest.cc38 const char kKey[] = "test-key"; variable
81 ASSERT_TRUE(SetValue(kKey, test_data)); in TEST_F()
83 EXPECT_TRUE(prefs_.GetString(kKey, &value)); in TEST_F()
99 EXPECT_TRUE(prefs_.SetString(kKey, kValue)); in TEST_F()
101 EXPECT_TRUE(base::ReadFileToString(prefs_dir_.Append(kKey), &value)); in TEST_F()
115 EXPECT_TRUE(prefs_.SetString(kKey, kValue)); in TEST_F()
117 EXPECT_TRUE(base::ReadFileToString(subdir.Append(kKey), &value)); in TEST_F()
123 EXPECT_FALSE(prefs_.SetString(kKey, "test value")); in TEST_F()
127 base::CreateDirectory(prefs_dir_.Append(kKey)); in TEST_F()
128 EXPECT_FALSE(prefs_.SetString(kKey, "test value")); in TEST_F()
[all …]