Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(892)

Unified Diff: mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd11_nosuch.data

Issue 921223002: Cpp bindings: Return false from Validator::Accept() on unrecognized message or invalid flags (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix test Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd11_nosuch.data
diff --git a/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd0_incomplete_struct_header.data b/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd11_nosuch.data
similarity index 50%
copy from mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd0_incomplete_struct_header.data
copy to mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd11_nosuch.data
index 9a362f6156e4da0e929c45199542ce72f1618b34..92bdd585b1fe01893162c92a8f1f208925476872 100644
--- a/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd0_incomplete_struct_header.data
+++ b/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd11_nosuch.data
@@ -1,7 +1,5 @@
[dist4]message_header // num_bytes
[u4]2 // num_fields
-[u4]0 // name
+[u4]11 // There is no Method11
yzshen1 2015/02/23 19:08:02 Please use a huge number. Because we will add mor
rudominer 2015/03/03 01:54:35 Done.
[u4]0 // flags
-[anchr]message_header
-
-[u4]16 // num_bytes: Incomplete struct header.
+[anchr]message_header

Powered by Google App Engine
This is Rietveld 408576698