Lines Matching refs:kValue

38   const string kValue("baz");  in TEST_F()  local
40 store_.Set(kKey, brillo::Any(kValue)); in TEST_F()
42 EXPECT_EQ(kValue, store_.Get(kKey).Get<string>()); in TEST_F()
50 const bool kValue = false; in TEST_F() local
53 store_.SetBool(kKey, kValue); in TEST_F()
58 EXPECT_EQ(static_cast<int>(kValue), in TEST_F()
60 EXPECT_EQ(static_cast<int>(kValue), in TEST_F()
66 const vector<vector<uint8_t>> kValue{ {1, 2, 3 } }; in TEST_F() local
68 store_.SetByteArrays(kKey, kValue); in TEST_F()
70 EXPECT_EQ(kValue, store_.GetByteArrays(kKey)); in TEST_F()
77 const int kValue = 456; in TEST_F() local
81 store_.SetInt(kKey, kValue); in TEST_F()
83 EXPECT_EQ(kValue, store_.GetInt(kKey)); in TEST_F()
84 EXPECT_EQ(kValue, store_.LookupInt(kKey, kDefaultValue)); in TEST_F()
91 const int16_t kValue = 123; in TEST_F() local
93 store_.SetInt16(kKey, kValue); in TEST_F()
95 EXPECT_EQ(kValue, store_.GetInt16(kKey)); in TEST_F()
116 const string kValue("baz"); in TEST_F() local
118 store_.SetRpcIdentifier(kKey, kValue); in TEST_F()
120 EXPECT_EQ(kValue, store_.GetRpcIdentifier(kKey)); in TEST_F()
127 const vector<string> kValue{ "baz0", "baz1", "baz2" }; in TEST_F() local
129 store_.SetRpcIdentifiers(kKey, kValue); in TEST_F()
131 EXPECT_EQ(kValue, store_.GetRpcIdentifiers(kKey)); in TEST_F()
139 const string kValue("baz"); in TEST_F() local
142 store_.SetString(kKey, kValue); in TEST_F()
144 EXPECT_EQ(kValue, store_.LookupString(kKey, kDefaultValue)); in TEST_F()
145 EXPECT_EQ(kValue, store_.GetString(kKey)); in TEST_F()
153 const map<string, string> kValue{ { "bar0", "baz0" }, { "bar1", "baz1" } }; in TEST_F() local
155 store_.SetStringmap(kKey, kValue); in TEST_F()
157 EXPECT_EQ(kValue, store_.GetStringmap(kKey)); in TEST_F()
164 const vector<string> kValue{ "baz0", "baz1", "baz2" }; in TEST_F() local
166 store_.SetStrings(kKey, kValue); in TEST_F()
168 EXPECT_EQ(kValue, store_.GetStrings(kKey)); in TEST_F()
175 const uint32_t kValue = 456; in TEST_F() local
177 store_.SetUint(kKey, kValue); in TEST_F()
179 EXPECT_EQ(kValue, store_.GetUint(kKey)); in TEST_F()
184 const uint16_t kValue = 456; in TEST_F() local
186 store_.SetUint16(kKey, kValue); in TEST_F()
188 EXPECT_EQ(kValue, store_.GetUint16(kKey)); in TEST_F()
193 const uint8_t kValue = 123; in TEST_F() local
195 store_.SetUint8(kKey, kValue); in TEST_F()
197 EXPECT_EQ(kValue, store_.GetUint8(kKey)); in TEST_F()
204 const vector<uint8_t> kValue{ 1, 2, 3 }; in TEST_F() local
206 store_.SetUint8s(kKey, kValue); in TEST_F()
208 EXPECT_EQ(kValue, store_.GetUint8s(kKey)); in TEST_F()
215 const vector<uint32_t> kValue{ 1, 2, 3 }; in TEST_F() local
217 store_.SetUint32s(kKey, kValue); in TEST_F()
219 EXPECT_EQ(kValue, store_.GetUint32s(kKey)); in TEST_F()