Index: mojo/public/cpp/bindings/tests/validation_unittest.cc |
diff --git a/mojo/public/cpp/bindings/tests/validation_unittest.cc b/mojo/public/cpp/bindings/tests/validation_unittest.cc |
index 6463a9e7b3b339f96a74b8029073eb335ce7e559..35a3e525463beb2221fc3ef09b97bed5266bc2c4 100644 |
--- a/mojo/public/cpp/bindings/tests/validation_unittest.cc |
+++ b/mojo/public/cpp/bindings/tests/validation_unittest.cc |
@@ -391,6 +391,15 @@ TEST_F(ValidationTest, Conformance) { |
RunValidationTests("conformance_", validators.GetHead()); |
} |
+TEST_F(ValidationTest, NotImplemented) { |
+ DummyMessageReceiver dummy_receiver; |
+ mojo::internal::FilterChain validators(&dummy_receiver); |
+ validators.Append<mojo::internal::MessageHeaderValidator>(); |
+ validators.Append<ConformanceTestInterface::RequestValidator_>(); |
+ |
+ RunValidationTests("not_implemented_", validators.GetHead()); |
+} |
+ |
TEST_F(ValidationIntegrationTest, InterfacePtr) { |
// Test that InterfacePtr<X> applies the correct validators and they don't |
// conflict with each other: |