Home
last modified time | relevance | path

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

/external/libchrome/mojo/public/cpp/bindings/tests/
Dunion_unittest.cc211 PodUnionPtr pod2(PodUnion::New()); in TEST() local
214 pod2->set_f_int8(10); in TEST()
215 EXPECT_TRUE(pod1.Equals(pod2)); in TEST()
217 pod2->set_f_int8(11); in TEST()
218 EXPECT_FALSE(pod1.Equals(pod2)); in TEST()
220 pod2->set_f_int8_other(10); in TEST()
221 EXPECT_FALSE(pod1.Equals(pod2)); in TEST()
243 PodUnionPtr pod2; in TEST() local
244 mojo::internal::Deserialize<PodUnionDataView>(data, &pod2, &context); in TEST()
246 EXPECT_EQ(10, pod2->get_f_int8()); in TEST()
[all …]