Home
last modified time | relevance | path

Searched refs:sourceParser (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tools/aapt2/
DScopedXmlPullParser_test.cpp31 SourceXmlPullParser sourceParser(input); in TEST() local
32 EXPECT_EQ(XmlPullParser::Event::kStartElement, sourceParser.next()); in TEST()
33 EXPECT_EQ(std::u16string(u"resources"), sourceParser.getElementName()); in TEST()
35 EXPECT_EQ(XmlPullParser::Event::kStartElement, sourceParser.next()); in TEST()
36 EXPECT_EQ(std::u16string(u"string"), sourceParser.getElementName()); in TEST()
39 ScopedXmlPullParser scopedParser(&sourceParser); in TEST()
41 EXPECT_EQ(std::u16string(u"string"), sourceParser.getElementName()); in TEST()
46 EXPECT_EQ(XmlPullParser::Event::kEndElement, sourceParser.next()); in TEST()
47 EXPECT_EQ(std::u16string(u"resources"), sourceParser.getElementName()); in TEST()
49 EXPECT_EQ(XmlPullParser::Event::kEndDocument, sourceParser.next()); in TEST()
[all …]
DBindingXmlPullParser_test.cpp38 std::shared_ptr<XmlPullParser> sourceParser = std::make_shared<SourceXmlPullParser>(input); in TEST() local
39 BindingXmlPullParser parser(sourceParser); in TEST()
77 std::shared_ptr<XmlPullParser> sourceParser = std::make_shared<SourceXmlPullParser>(input); in TEST() local
78 BindingXmlPullParser parser(sourceParser); in TEST()
100 std::shared_ptr<XmlPullParser> sourceParser = std::make_shared<SourceXmlPullParser>(input); in TEST() local
101 BindingXmlPullParser parser(sourceParser); in TEST()
DXliffXmlPullParser_test.cpp33 std::shared_ptr<XmlPullParser> sourceParser = std::make_shared<SourceXmlPullParser>(input); in TEST() local
34 XliffXmlPullParser parser(sourceParser); in TEST()