Lines Matching full:eud
27 ExtendedUserData eud(stream); in TEST() local
29 EXPECT_TRUE(eud.valid()); in TEST()
30 EXPECT_EQ(eud.header().id, 0x4544); in TEST()
31 EXPECT_EQ(eud.header().size, eudSectionData.size()); in TEST()
32 EXPECT_EQ(eud.header().version, 0x01); in TEST()
33 EXPECT_EQ(eud.header().subType, 0x02); in TEST()
34 EXPECT_EQ(eud.header().componentID, 0x2000); in TEST()
35 EXPECT_EQ(eud.creatorID(), 'O'); in TEST()
37 const auto& data = eud.data(); in TEST()
50 eud.flatten(newStream); in TEST()
61 ExtendedUserData eud(stream); in TEST() local
62 EXPECT_FALSE(eud.valid()); in TEST()
72 ExtendedUserData eud(stream); in TEST() local
73 EXPECT_FALSE(eud.valid()); in TEST()
78 ExtendedUserData eud(stream); in TEST() local
79 EXPECT_FALSE(eud.valid()); in TEST()
87 ExtendedUserData eud{0x1112, 0x42, 0x01, 'B', data}; in TEST() local
89 EXPECT_TRUE(eud.valid()); in TEST()
90 EXPECT_EQ(eud.header().id, 0x4544); in TEST()
91 EXPECT_EQ(eud.header().size, 20); in TEST()
92 EXPECT_EQ(eud.header().subType, 0x42); in TEST()
93 EXPECT_EQ(eud.header().version, 0x01); in TEST()
94 EXPECT_EQ(eud.header().componentID, 0x1112); in TEST()
95 EXPECT_EQ(eud.flattenedSize(), 20); in TEST()
96 EXPECT_EQ(eud.creatorID(), 'B'); in TEST()
98 const auto& d = eud.data(); in TEST()
107 ExtendedUserData eud(0x1112, 0x42, 0x01, 'O', data); in TEST() local
108 EXPECT_TRUE(eud.valid()); in TEST()
111 EXPECT_TRUE(eud.shrink(88)); in TEST()
112 EXPECT_EQ(eud.flattenedSize(), 88); in TEST()
113 EXPECT_EQ(eud.header().size, 88); in TEST()
116 EXPECT_TRUE(eud.shrink(87)); in TEST()
117 EXPECT_EQ(eud.flattenedSize(), 84); in TEST()
118 EXPECT_EQ(eud.header().size, 84); in TEST()
121 EXPECT_FALSE(eud.shrink(200)); in TEST()
122 EXPECT_EQ(eud.flattenedSize(), 84); in TEST()
123 EXPECT_EQ(eud.header().size, 84); in TEST()
126 EXPECT_FALSE(eud.shrink(3)); in TEST()
127 EXPECT_EQ(eud.flattenedSize(), 84); in TEST()
128 EXPECT_EQ(eud.header().size, 84); in TEST()
131 EXPECT_TRUE(eud.shrink(16)); in TEST()
132 EXPECT_EQ(eud.flattenedSize(), 16); in TEST()
133 EXPECT_EQ(eud.header().size, 16); in TEST()
136 EXPECT_FALSE(eud.shrink(15)); in TEST()
137 EXPECT_EQ(eud.flattenedSize(), 16); in TEST()
138 EXPECT_EQ(eud.header().size, 16); in TEST()