OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 define([ | 5 define([ |
6 "gin/test/expect", | 6 "gin/test/expect", |
7 "mojo/public/bindings/js/codec", | 7 "mojo/public/bindings/js/codec", |
8 "mojo/public/bindings/tests/sample_service.mojom", | 8 "mojo/public/bindings/tests/sample_service.mojom", |
9 ], function(expect, codec, sample) { | 9 ], function(expect, codec, sample) { |
10 testBar(); | 10 testBar(); |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 16, // 16 | 149 16, // 16 |
150 24, // 17 | 150 24, // 17 |
151 24, // 18 | 151 24, // 18 |
152 24, // 19 | 152 24, // 19 |
153 24, // 20 | 153 24, // 20 |
154 ]; | 154 ]; |
155 for (var i = 0; i < aligned.length; ++i) | 155 for (var i = 0; i < aligned.length; ++i) |
156 expect(codec.align(i)).toBe(aligned[i]); | 156 expect(codec.align(i)).toBe(aligned[i]); |
157 } | 157 } |
158 }); | 158 }); |
OLD | NEW |