Lines Matching refs:res
149 bool res; in TEST_F() local
150 res = mem->Add(seq, kTypeValue, "key", "value2"); in TEST_F()
151 ASSERT_TRUE(res); in TEST_F()
152 res = mem->Add(seq, kTypeValue, "key", "value2"); in TEST_F()
153 ASSERT_FALSE(res); in TEST_F()
155 res = mem->Add(seq, kTypeMerge, "key", "value2"); in TEST_F()
156 ASSERT_FALSE(res); in TEST_F()
158 res = mem->Add(seq + 1, kTypeMerge, "key", "value2"); in TEST_F()
159 ASSERT_TRUE(res); in TEST_F()
161 res = mem->Add(seq, kTypeDeletion, "key", ""); in TEST_F()
162 ASSERT_FALSE(res); in TEST_F()
163 res = mem->Add(seq, kTypeSingleDeletion, "key", ""); in TEST_F()
164 ASSERT_FALSE(res); in TEST_F()
172 res = mem->Add(seq, kTypeValue, "foo", "value" + ToString(seq)); in TEST_F()
174 ASSERT_FALSE(res); in TEST_F()
176 ASSERT_TRUE(res); in TEST_F()
188 res = mem->Add(seq, kTypeValue, "key_1", "value"); in TEST_F()
189 ASSERT_TRUE(res); in TEST_F()
190 res = mem->Add(seq, kTypeValue, "key_1", "value"); in TEST_F()
191 ASSERT_FALSE(res); in TEST_F()
200 res = mem->Add(seq, kTypeValue, "key", "value", true, &post_process_info); in TEST_F()
201 ASSERT_TRUE(res); in TEST_F()
202 res = mem->Add(seq, kTypeValue, "key", "value", true, &post_process_info); in TEST_F()
203 ASSERT_FALSE(res); in TEST_F()
230 bool res = mem->Add(0, kTypeValue, "key", value); in TEST_F() local
231 ASSERT_TRUE(res); in TEST_F()
264 res = mem->Get(lkey, &value, /*timestamp=*/nullptr, &status, &merge_context, in TEST_F()
266 ASSERT_TRUE(res); in TEST_F()