OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "console", | 6 "console", |
7 "file", | 7 "file", |
8 "gin/test/expect", | 8 "gin/test/expect", |
9 "mojo/public/interfaces/bindings/tests/validation_test_interfaces.mojom", | 9 "mojo/public/interfaces/bindings/tests/validation_test_interfaces.mojom", |
10 "mojo/public/js/bindings/buffer", | 10 "mojo/public/js/buffer", |
11 "mojo/public/js/bindings/codec", | 11 "mojo/public/js/codec", |
12 "mojo/public/js/bindings/connection", | 12 "mojo/public/js/connection", |
13 "mojo/public/js/bindings/connector", | 13 "mojo/public/js/connector", |
14 "mojo/public/js/bindings/core", | 14 "mojo/public/js/core", |
15 "mojo/public/js/bindings/tests/validation_test_input_parser", | 15 "mojo/public/js/test/validation_test_input_parser", |
16 "mojo/public/js/bindings/router", | 16 "mojo/public/js/router", |
17 "mojo/public/js/bindings/validator", | 17 "mojo/public/js/validator", |
18 ], function(console, | 18 ], function(console, |
19 file, | 19 file, |
20 expect, | 20 expect, |
21 testInterface, | 21 testInterface, |
22 buffer, | 22 buffer, |
23 codec, | 23 codec, |
24 connection, | 24 connection, |
25 connector, | 25 connector, |
26 core, | 26 core, |
27 parser, | 27 parser, |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 testConnection.close(); | 293 testConnection.close(); |
294 expect(core.close(testMessagePipe.handle0)).toBe(core.RESULT_OK); | 294 expect(core.close(testMessagePipe.handle0)).toBe(core.RESULT_OK); |
295 } | 295 } |
296 } | 296 } |
297 | 297 |
298 expect(checkTestMessageParser()).toBeNull(); | 298 expect(checkTestMessageParser()).toBeNull(); |
299 testConformanceMessageValidation(); | 299 testConformanceMessageValidation(); |
300 testIntegratedMessageValidation(); | 300 testIntegratedMessageValidation(); |
301 this.result = "PASS"; | 301 this.result = "PASS"; |
302 }); | 302 }); |
OLD | NEW |