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

Unified Diff: mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd7_unexpected_null_fixed_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_mthd7_unexpected_null_fixed_array.data
diff --git a/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd7_too_few_array_elements.data b/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd7_unexpected_null_fixed_array.data
similarity index 62%
copy from mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd7_too_few_array_elements.data
copy to mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd7_unexpected_null_fixed_array.data
index 861e74ff1f3a6e860b594e23d4ac1b37286efe32..ab6917508292c92583614d0c4cd2a3d61fd481ed 100644
--- a/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd7_too_few_array_elements.data
+++ b/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd7_unexpected_null_fixed_array.data
@@ -8,22 +8,13 @@
[u4]2 // num_fields
[dist8]param0_ptr // param0
[dist8]param1_ptr // param1
-[u8]0 // padding
[anchr]method7_params
[anchr]param0_ptr
-[dist4]struct_c // num_bytes
+[dist4]struct_f // num_bytes
[u4]1 // num_fields
-[dist8]array_ptr // array
-[anchr]struct_c
-
-[anchr]array_ptr
-[dist4]array_member // num_bytes
-[u4]2 // num_elements
-0 1
-[anchr]array_member
-
-[u4]0 [u1]0 [u1]0 // padding for alignment of next array
+[u8]0 // fixed_size_array: An unexpected null pointer.
+[anchr]struct_f
[anchr]param1_ptr
[dist4]array_param // num_bytes

Powered by Google App Engine
This is Rietveld 408576698