Chromium Code Reviews| Index: mojo/public/js/bindings/validation_unittests.js |
| diff --git a/mojo/public/js/bindings/validation_unittests.js b/mojo/public/js/bindings/validation_unittests.js |
| index be07ac97a08121c014be3f77b51accecadd7519e..59a8ec89e333c71e8a3d1f1cc1afa94c33f142a6 100644 |
| --- a/mojo/public/js/bindings/validation_unittests.js |
| +++ b/mojo/public/js/bindings/validation_unittests.js |
| @@ -226,20 +226,18 @@ define([ |
| } |
| function testConformanceMessageValidation() { |
| - testMessageValidation("conformance_", [ |
| - testInterface.validateConformanceTestInterfaceRequest, |
| - ]); |
| + testMessageValidation("conformance_", |
| + testInterface.ConformanceTestInterfaceStub.prototype.validators); |
| } |
| function testIntegrationMessageValidation() { |
| - testMessageValidation("integration_", [ |
| - testInterface.validateIntegrationTestInterface1Request, |
| - testInterface.validateIntegrationTestInterface2Response |
| - ]); |
| + testMessageValidation("integration_", |
| + testInterface.IntegrationTestInterface1Stub.prototype.validators.concat( |
| + testInterface.IntegrationTestInterface2Proxy.prototype.validators)); |
|
yzshen1
2014/08/27 18:21:39
4 space indent?
hansmuller
2014/08/27 21:07:03
Done.
|
| } |
| + expect(checkTestMessageParser()).toBeNull(); |
| testConformanceMessageValidation(); |
| testIntegrationMessageValidation(); |
| - expect(checkTestMessageParser()).toBeNull(); |
| this.result = "PASS"; |
| }); |