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

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

Issue 466613002: Add validation logic for non-nullable types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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_mthd8_unexpected_null_array.data
diff --git a/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd0_struct_num_bytes_less_than_min_requirement.data b/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd8_unexpected_null_array.data
similarity index 52%
copy from mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd0_struct_num_bytes_less_than_min_requirement.data
copy to mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd8_unexpected_null_array.data
index 7c966f86ec0d3618bb69ce597cf2add8d99498c7..f1d8718e65102c9fe05e1cb84fe7ea90d2a2b75f 100644
--- a/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd0_struct_num_bytes_less_than_min_requirement.data
+++ b/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd8_unexpected_null_array.data
@@ -1,9 +1,10 @@
[dist4]message_header // num_bytes
[u4]2 // num_fields
-[u4]0 // name
+[u4]8 // name
[u4]0 // flags
[anchr]message_header
-[dist4]method0_params // num_bytes: Less than the minimal size that we expect.
+[dist4]method8_params // num_bytes
[u4]1 // num_fields
-[anchr]method0_params
+[u8]0 // param0: An unexpected null pointer.
+[anchr]method8_params

Powered by Google App Engine
This is Rietveld 408576698