Lines Matching refs:dict_val
320 std::unique_ptr<DictionaryValue> dict_val = in TEST() local
322 ASSERT_TRUE(dict_val); in TEST()
326 auto dict_val = DictionaryValue::From(JSONReader::Read( in TEST() local
328 ASSERT_TRUE(dict_val); in TEST()
330 EXPECT_TRUE(dict_val->GetDouble("number", &double_val)); in TEST()
333 ASSERT_TRUE(dict_val->Get("null", &null_val)); in TEST()
336 EXPECT_TRUE(dict_val->GetString("S", &str_val)); in TEST()
343 EXPECT_TRUE(dict_val->Equals(root2.get())); in TEST()
354 EXPECT_TRUE(dict_val->Equals(root2.get())); in TEST()
364 EXPECT_TRUE(dict_val->Equals(root2.get())); in TEST()
368 std::unique_ptr<DictionaryValue> dict_val = in TEST() local
371 ASSERT_TRUE(dict_val); in TEST()
373 ASSERT_TRUE(dict_val->GetDictionary("inner", &inner_dict)); in TEST()
378 EXPECT_TRUE(dict_val->GetBoolean("false", &bool_value)); in TEST()
381 EXPECT_TRUE(dict_val->GetDictionary("d", &inner_dict)); in TEST()
386 EXPECT_TRUE(dict_val->Equals(root2.get())); in TEST()
390 std::unique_ptr<DictionaryValue> dict_val = DictionaryValue::From( in TEST() local
392 ASSERT_TRUE(dict_val); in TEST()
394 EXPECT_TRUE(dict_val->GetIntegerWithoutPathExpansion("a.b", &integer_value)); in TEST()
396 EXPECT_TRUE(dict_val->GetIntegerWithoutPathExpansion("c", &integer_value)); in TEST()
400 dict_val->GetDictionaryWithoutPathExpansion("d.e.f", &inner_dict)); in TEST()
406 dict_val = in TEST()
408 ASSERT_TRUE(dict_val); in TEST()
409 EXPECT_TRUE(dict_val->GetInteger("a.b", &integer_value)); in TEST()
411 EXPECT_TRUE(dict_val->GetIntegerWithoutPathExpansion("a.b", &integer_value)); in TEST()
469 std::unique_ptr<DictionaryValue> dict_val = in TEST() local
472 ASSERT_TRUE(dict_val); in TEST()
473 EXPECT_TRUE(dict_val->GetString("path", &str_val)); in TEST()