Home | History | Annotate | Download | only in base

Lines Matching refs:dict

263     DictionaryValue dict;
264 dict.Set(key, new DeletionTestValue(&deletion_flag));
270 DictionaryValue dict;
271 dict.Set(key, new DeletionTestValue(&deletion_flag));
273 dict.Clear();
278 DictionaryValue dict;
279 dict.Set(key, new DeletionTestValue(&deletion_flag));
281 dict.Set(key, Value::CreateNullValue());
292 DictionaryValue dict;
293 dict.Set(key, new DeletionTestValue(&deletion_flag));
295 EXPECT_TRUE(dict.HasKey(key));
296 EXPECT_FALSE(dict.Remove(L"absent key", &removed_item));
297 EXPECT_TRUE(dict.Remove(key, &removed_item));
298 EXPECT_FALSE(dict.HasKey(key));
307 DictionaryValue dict;
308 dict.Set(key, new DeletionTestValue(&deletion_flag));
310 EXPECT_TRUE(dict.HasKey(key));
311 EXPECT_TRUE(dict.Remove(key, NULL));
313 EXPECT_FALSE(dict.HasKey(key));
318 DictionaryValue dict;
319 dict.Set(L"this.is.expanded", Value::CreateNullValue());
320 dict.SetWithoutPathExpansion(L"this.isnt.expanded", Value::CreateNullValue());
322 EXPECT_FALSE(dict.HasKey(L"this.is.expanded"));
323 EXPECT_TRUE(dict.HasKey(L"this"));
325 EXPECT_TRUE(dict.Get(L"this", &value1));
327 ASSERT_TRUE(dict.GetDictionaryWithoutPathExpansion(L"this", &value2));
331 EXPECT_TRUE(dict.HasKey(L"this.isnt.expanded"));
333 EXPECT_FALSE(dict.Get(L"this.isnt.expanded", &value3));
335 ASSERT_TRUE(dict.GetWithoutPathExpansion(L"this.isnt.expanded", &value4));