Lines Matching refs:FindKey
123 EXPECT_EQ(Value::Type::STRING, value.FindKey("foo")->type()); in TEST()
124 EXPECT_EQ("bar", value.FindKey("foo")->GetString()); in TEST()
131 EXPECT_EQ(Value::Type::STRING, value.FindKey("foo")->type()); in TEST()
132 EXPECT_EQ("baz", value.FindKey("foo")->GetString()); in TEST()
348 EXPECT_EQ(123, moved_value.FindKey("Int")->GetInt()); in TEST()
358 EXPECT_EQ(123, blank.FindKey("Int")->GetInt()); in TEST()
375 TEST(ValuesTest, FindKey) { in TEST() argument
379 EXPECT_NE(nullptr, dict.FindKey("foo")); in TEST()
380 EXPECT_EQ(nullptr, dict.FindKey("baz")); in TEST()
383 bool found = dict.FindKey("notfound"); in TEST()
391 Value* found = dict.FindKey("foo"); in TEST()
396 EXPECT_EQ(123, dict.FindKey("foo")->GetInt()); in TEST()
403 EXPECT_NE(nullptr, dict.FindKey("foo")); in TEST()
404 EXPECT_EQ(nullptr, dict.FindKey("baz")); in TEST()
680 EXPECT_FALSE(root.FindKey("one")); in TEST()
687 EXPECT_TRUE(root.FindKey("one")); in TEST()