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..cfba1162c95f5b468663428691227cec2e6b8936 100644 |
--- a/mojo/public/js/bindings/validation_unittests.js |
+++ b/mojo/public/js/bindings/validation_unittests.js |
@@ -227,19 +227,17 @@ define([ |
function testConformanceMessageValidation() { |
testMessageValidation("conformance_", [ |
- testInterface.validateConformanceTestInterfaceRequest, |
- ]); |
+ testInterface.ConformanceTestInterfaceStub.prototype.validator]); |
} |
function testIntegrationMessageValidation() { |
testMessageValidation("integration_", [ |
- testInterface.validateIntegrationTestInterface1Request, |
- testInterface.validateIntegrationTestInterface2Response |
- ]); |
+ testInterface.IntegrationTestInterface1Stub.prototype.validator, |
+ testInterface.IntegrationTestInterface2Proxy.prototype.validator]); |
} |
+ expect(checkTestMessageParser()).toBeNull(); |
testConformanceMessageValidation(); |
testIntegrationMessageValidation(); |
- expect(checkTestMessageParser()).toBeNull(); |
this.result = "PASS"; |
}); |