Lines Matching refs:LetQuery
139 ASSERT_TRUE(isa<LetQuery>(Q)); in TEST_F()
140 EXPECT_EQ("foo", cast<LetQuery>(Q)->Name); in TEST_F()
141 EXPECT_TRUE(cast<LetQuery>(Q)->Value.isMatcher()); in TEST_F()
142 EXPECT_TRUE(cast<LetQuery>(Q)->Value.getMatcher().hasTypedMatcher<Decl>()); in TEST_F()
145 ASSERT_TRUE(isa<LetQuery>(Q)); in TEST_F()
146 EXPECT_EQ("foo", cast<LetQuery>(Q)->Name); in TEST_F()
147 EXPECT_TRUE(cast<LetQuery>(Q)->Value.isMatcher()); in TEST_F()
148 EXPECT_TRUE(cast<LetQuery>(Q)->Value.getMatcher().hasTypedMatcher<Decl>()); in TEST_F()
151 ASSERT_TRUE(isa<LetQuery>(Q)); in TEST_F()
152 EXPECT_EQ("bar", cast<LetQuery>(Q)->Name); in TEST_F()
153 EXPECT_TRUE(cast<LetQuery>(Q)->Value.isString()); in TEST_F()
154 EXPECT_EQ("str", cast<LetQuery>(Q)->Value.getString()); in TEST_F()
161 ASSERT_TRUE(isa<LetQuery>(Q)); in TEST_F()
162 EXPECT_EQ("x", cast<LetQuery>(Q)->Name); in TEST_F()
163 EXPECT_FALSE(cast<LetQuery>(Q)->Value.hasValue()); in TEST_F()
180 ASSERT_TRUE(isa<LetQuery>(Q)); in TEST_F()
287 ASSERT_TRUE(isa<LetQuery>(Q)); in TEST_F()
398 ASSERT_TRUE(isa<LetQuery>(Q)); in TEST_F()
401 dyn_cast<LetQuery>(Q)->run(NullOutStream, QS); in TEST_F()