Lines Matching defs:id
36 .addValue(u"@com.app.a:id/foo", {}, util::make_unique<Id>())
45 Id* id = test::getValue<Id>(table.get(), u"@com.app.a:id/foo");
46 ASSERT_NE(nullptr, id);
65 // Make a reference with both resource name and resource ID.
67 // name and id get serialized.
70 expectedRef.id = ResourceId(0x01020000);
84 Id* newId = test::getValue<Id>(newTable.get(), u"@com.app.a:id/foo");
86 EXPECT_EQ(id->isWeak(), newId->isWeak());
108 AAPT_ASSERT_TRUE(actualRef->id);
110 EXPECT_EQ(expectedRef.id.value(), actualRef->id.value());
120 f.exportedSymbols.push_back(SourcedResourceName{ test::parseNameOrDie(u"@+id/unchecked"), 23u });
148 EXPECT_EQ(test::parseNameOrDie(u"@+id/unchecked"), file->exportedSymbols[0].name);