Lines Matching refs:sourceParser
31 SourceXmlPullParser sourceParser(input);
32 EXPECT_EQ(XmlPullParser::Event::kStartElement, sourceParser.next());
33 EXPECT_EQ(std::u16string(u"resources"), sourceParser.getElementName());
35 EXPECT_EQ(XmlPullParser::Event::kStartElement, sourceParser.next());
36 EXPECT_EQ(std::u16string(u"string"), sourceParser.getElementName());
39 ScopedXmlPullParser scopedParser(&sourceParser);
41 EXPECT_EQ(std::u16string(u"string"), sourceParser.getElementName());
46 EXPECT_EQ(XmlPullParser::Event::kEndElement, sourceParser.next());
47 EXPECT_EQ(std::u16string(u"resources"), sourceParser.getElementName());
49 EXPECT_EQ(XmlPullParser::Event::kEndDocument, sourceParser.next());
57 SourceXmlPullParser sourceParser(input);
58 EXPECT_EQ(XmlPullParser::Event::kStartElement, sourceParser.next());
59 EXPECT_EQ(std::u16string(u"resources"), sourceParser.getElementName());
61 EXPECT_EQ(XmlPullParser::Event::kStartElement, sourceParser.next());
62 EXPECT_EQ(std::u16string(u"string"), sourceParser.getElementName());
65 ScopedXmlPullParser scopedParser(&sourceParser);
66 EXPECT_EQ(std::u16string(u"string"), sourceParser.getElementName());
69 EXPECT_EQ(XmlPullParser::Event::kEndElement, sourceParser.next());
70 EXPECT_EQ(std::u16string(u"resources"), sourceParser.getElementName());
72 EXPECT_EQ(XmlPullParser::Event::kEndDocument, sourceParser.next());
80 SourceXmlPullParser sourceParser(input);
81 EXPECT_EQ(XmlPullParser::Event::kStartElement, sourceParser.next());
82 EXPECT_EQ(std::u16string(u"resources"), sourceParser.getElementName());
84 EXPECT_EQ(XmlPullParser::Event::kStartElement, sourceParser.next());
85 EXPECT_EQ(std::u16string(u"string"), sourceParser.getElementName());
88 ScopedXmlPullParser scopedParser(&sourceParser);
100 EXPECT_EQ(XmlPullParser::Event::kEndElement, sourceParser.next());
101 EXPECT_EQ(std::u16string(u"resources"), sourceParser.getElementName());
103 EXPECT_EQ(XmlPullParser::Event::kEndDocument, sourceParser.next());