Lines Matching defs:bag
209 const ResolvedBag* bag = assetmanager.GetBag(basic::R::array::integerArray1);
210 ASSERT_NE(nullptr, bag);
211 ASSERT_EQ(3u, bag->entry_count);
213 EXPECT_EQ(static_cast<uint8_t>(Res_value::TYPE_INT_DEC), bag->entries[0].value.dataType);
214 EXPECT_EQ(1u, bag->entries[0].value.data);
215 EXPECT_EQ(0, bag->entries[0].cookie);
217 EXPECT_EQ(static_cast<uint8_t>(Res_value::TYPE_INT_DEC), bag->entries[1].value.dataType);
218 EXPECT_EQ(2u, bag->entries[1].value.data);
219 EXPECT_EQ(0, bag->entries[1].cookie);
221 EXPECT_EQ(static_cast<uint8_t>(Res_value::TYPE_INT_DEC), bag->entries[2].value.dataType);
222 EXPECT_EQ(3u, bag->entries[2].value.data);
223 EXPECT_EQ(0, bag->entries[2].cookie);
236 const ResolvedBag* bag = assetmanager.GetBag(libclient::R::style::Theme);
237 ASSERT_NE(nullptr, bag);
238 ASSERT_GE(bag->entry_count, 2u);
241 EXPECT_EQ(1, bag->entries[0].cookie);
242 EXPECT_EQ(0x03, get_package_id(bag->entries[0].key));
243 EXPECT_EQ(1, bag->entries[1].cookie);
244 EXPECT_EQ(0x03, get_package_id(bag->entries[1].key));