Searched refs:extra_bars (Results 1 – 2 of 2) sorted by relevance
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | sample_service_unittest.cc | 44 std::vector<BarPtr> extra_bars(3); in MakeFoo() local 45 for (size_t i = 0; i < extra_bars.size(); ++i) { in MakeFoo() 48 extra_bars[i] = Bar::New(base, base + 20, base + 40, type); in MakeFoo() 80 std::move(extra_bars), std::move(data), in MakeFoo() 108 EXPECT_EQ(3u, foo.extra_bars->size()); in CheckFoo() 109 for (size_t i = 0; i < foo.extra_bars->size(); i++) { in CheckFoo() 112 EXPECT_EQ(base, (*foo.extra_bars)[i]->alpha) << i; in CheckFoo() 113 EXPECT_EQ(base + 20, (*foo.extra_bars)[i]->beta) << i; in CheckFoo() 114 EXPECT_EQ(base + 40, (*foo.extra_bars)[i]->gamma) << i; in CheckFoo() 115 EXPECT_EQ(type, (*foo.extra_bars)[i]->type) << i; in CheckFoo() [all …]
|
/external/libchrome/mojo/public/interfaces/bindings/tests/ |
D | sample_service.mojom | 36 array<Bar>? extra_bars@7;
|