Chromium Code Reviews

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

Issue 1052993010: Adds method ordinal off-by-one error detection testing to ValidationTest. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebased. Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: mojo/public/interfaces/bindings/tests/data/validation/boundscheck_msghdr_no_such_method.data
diff --git a/mojo/public/interfaces/bindings/tests/data/validation/conformance_msghdr_no_such_method.data b/mojo/public/interfaces/bindings/tests/data/validation/boundscheck_msghdr_no_such_method.data
similarity index 60%
copy from mojo/public/interfaces/bindings/tests/data/validation/conformance_msghdr_no_such_method.data
copy to mojo/public/interfaces/bindings/tests/data/validation/boundscheck_msghdr_no_such_method.data
index a1b034cdbcd167ceb6c28cdb5b5ea5ab349b0ce0..8a1bf789f8105b59ba2c5014ea1375bf1971a8d0 100644
--- a/mojo/public/interfaces/bindings/tests/data/validation/conformance_msghdr_no_such_method.data
+++ b/mojo/public/interfaces/bindings/tests/data/validation/boundscheck_msghdr_no_such_method.data
@@ -1,5 +1,5 @@
[dist4]message_header // num_bytes
[u4]2 // version number
-[u4]9999 // There is no Method9999.
+[u4]2 // There is no Method2
[u4]0 // flags
[anchr]message_header

Powered by Google App Engine