Home
last modified time | relevance | path

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

/external/chromium_org/mojo/apps/js/bindings/
Dsample_service_unittests.js26 var extra_bars = new Array(3);
27 for (var i = 0; i < extra_bars.length; ++i) {
31 extra_bars[i] = new sample.Bar();
32 extra_bars[i].alpha = base;
33 extra_bars[i].beta = base + 20;
34 extra_bars[i].gamma = base + 40;
35 extra_bars[i].type = type;
53 foo.extra_bars = extra_bars;
72 expect(foo.extra_bars.length).toBe(3);
73 for (var i = 0; i < foo.extra_bars.length; ++i) {
[all …]
/external/chromium_org/mojo/public/cpp/bindings/tests/
Dsample_service_unittest.cc46 mojo::Array<BarPtr> extra_bars(3); in MakeFoo() local
47 for (size_t i = 0; i < extra_bars.size(); ++i) { in MakeFoo()
55 extra_bars[i] = bar.Pass(); in MakeFoo()
94 foo->extra_bars = extra_bars.Pass(); in MakeFoo()
127 EXPECT_EQ(3u, foo.extra_bars.size()); in CheckFoo()
128 for (size_t i = 0; i < foo.extra_bars.size(); i++) { in CheckFoo()
131 EXPECT_EQ(base, foo.extra_bars[i]->alpha) << i; in CheckFoo()
132 EXPECT_EQ(base + 20, foo.extra_bars[i]->beta) << i; in CheckFoo()
133 EXPECT_EQ(base + 40, foo.extra_bars[i]->gamma) << i; in CheckFoo()
134 EXPECT_EQ(type, foo.extra_bars[i]->type) << i; in CheckFoo()
[all …]
/external/chromium_org/mojo/public/js/bindings/
Dcodec_unittests.js79 foo.extra_bars = [
82 for (var i = 0; i < foo.extra_bars.length; ++i) {
83 foo.extra_bars[i].alpha = 1 * i;
84 foo.extra_bars[i].beta = 2 * i;
85 foo.extra_bars[i].gamma = 3 * i;
142 expect(foo2.extra_bars).toEqual(foo.extra_bars);
/external/chromium_org/mojo/python/tests/
Dbindings_serialization_deserialization_unittest.py75 foo_instance.extra_bars = [
/external/chromium_org/mojo/public/interfaces/bindings/tests/
Dsample_service.mojom45 Bar[]? extra_bars@7;