Lines Matching refs:HST

327                                              HTMLStartTagComment *&HST,  in HasHTMLStartTagAt()  argument
329 ::testing::AssertionResult AR = GetChildAt(C, Idx, HST); in HasHTMLStartTagAt()
333 StringRef ActualTagName = HST->getTagName(); in HasHTMLStartTagAt()
346 HTMLStartTagComment *&HST, in HasHTMLStartTagAt() argument
349 ::testing::AssertionResult AR = HasHTMLStartTagAt(C, Idx, HST, TagName); in HasHTMLStartTagAt()
353 if (!HST->isSelfClosing()) in HasHTMLStartTagAt()
365 HTMLStartTagComment *&HST, in HasHTMLStartTagAt() argument
368 ::testing::AssertionResult AR = HasHTMLStartTagAt(C, Idx, HST, TagName); in HasHTMLStartTagAt()
372 if (HST->isSelfClosing()) in HasHTMLStartTagAt()
376 if (HST->getNumAttrs() != 0) in HasHTMLStartTagAt()
378 << "HTMLStartTagComment has " << HST->getNumAttrs() << " attr(s), " in HasHTMLStartTagAt()
386 HTMLStartTagComment *&HST, in HasHTMLStartTagAt() argument
390 ::testing::AssertionResult AR = HasHTMLStartTagAt(C, Idx, HST, TagName); in HasHTMLStartTagAt()
394 if (HST->isSelfClosing()) in HasHTMLStartTagAt()
398 if (HST->getNumAttrs() != 1) in HasHTMLStartTagAt()
400 << "HTMLStartTagComment has " << HST->getNumAttrs() << " attr(s), " in HasHTMLStartTagAt()
403 StringRef ActualName = HST->getAttr(0).Name; in HasHTMLStartTagAt()
409 StringRef ActualValue = HST->getAttr(0).Value; in HasHTMLStartTagAt()
1092 HTMLStartTagComment *HST; in TEST_F() local
1097 ASSERT_TRUE(HasHTMLStartTagAt(PC, 1, HST, "a", NoAttrs())); in TEST_F()
1114 HTMLStartTagComment *HST; in TEST_F() local
1119 ASSERT_TRUE(HasHTMLStartTagAt(PC, 1, HST, "br", SelfClosing())); in TEST_F()
1138 HTMLStartTagComment *HST; in TEST_F() local
1143 ASSERT_TRUE(HasHTMLStartTagAt(PC, 1, HST, "a", "href", "")); in TEST_F()
1160 HTMLStartTagComment *HST; in TEST_F() local
1165 ASSERT_TRUE(HasHTMLStartTagAt(PC, 1, HST, "a", "href", "bbb")); in TEST_F()
1205 HTMLStartTagComment *HST; in TEST_F() local
1211 ASSERT_TRUE(HasHTMLStartTagAt(PC, 1, HST, "pre", NoAttrs())); in TEST_F()