Lines Matching refs:symbols
216 ASSERT_EQ(enumAttr->symbols.size(), 3u);
218 AAPT_ASSERT_TRUE(enumAttr->symbols[0].symbol.name);
219 EXPECT_EQ(enumAttr->symbols[0].symbol.name.value().entry, u"bar");
220 EXPECT_EQ(enumAttr->symbols[0].value, 0u);
222 AAPT_ASSERT_TRUE(enumAttr->symbols[1].symbol.name);
223 EXPECT_EQ(enumAttr->symbols[1].symbol.name.value().entry, u"bat");
224 EXPECT_EQ(enumAttr->symbols[1].value, 1u);
226 AAPT_ASSERT_TRUE(enumAttr->symbols[2].symbol.name);
227 EXPECT_EQ(enumAttr->symbols[2].symbol.name.value().entry, u"baz");
228 EXPECT_EQ(enumAttr->symbols[2].value, 2u);
242 ASSERT_EQ(flagAttr->symbols.size(), 3u);
244 AAPT_ASSERT_TRUE(flagAttr->symbols[0].symbol.name);
245 EXPECT_EQ(flagAttr->symbols[0].symbol.name.value().entry, u"bar");
246 EXPECT_EQ(flagAttr->symbols[0].value, 0u);
248 AAPT_ASSERT_TRUE(flagAttr->symbols[1].symbol.name);
249 EXPECT_EQ(flagAttr->symbols[1].symbol.name.value().entry, u"bat");
250 EXPECT_EQ(flagAttr->symbols[1].value, 1u);
252 AAPT_ASSERT_TRUE(flagAttr->symbols[2].symbol.name);
253 EXPECT_EQ(flagAttr->symbols[2].symbol.name.value().entry, u"baz");
254 EXPECT_EQ(flagAttr->symbols[2].value, 2u);
398 EXPECT_EQ(1u, attr->symbols.size());
521 ASSERT_EQ(1u, attr->symbols.size());
523 EXPECT_EQ(StringPiece16(u"The very first"), attr->symbols.front().symbol.getComment());