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

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

Issue 651823005: mojom: Add conformance tests for map<>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hans pointed out this work around. Created 6 years, 2 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_mthd10_null_keys.data
diff --git a/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd10_null_keys.data b/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd10_null_keys.data
new file mode 100644
index 0000000000000000000000000000000000000000..a29698038ebbbbc1c44a953d81472a86cb7dbaa5
--- /dev/null
+++ b/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd10_null_keys.data
@@ -0,0 +1,23 @@
+[dist4]message_header // num_bytes
+[u4]2 // num_fields
+[u4]10 // name
+[u4]0 // flags
+[anchr]message_header
+
+[dist4]method10_params // num_bytes
+[u4]1 // num_fields
+[dist8]map_data_ptr // param0
+[anchr]method10_params
+
+[anchr]map_data_ptr
+[dist4]map_data_struct_header // num_bytes
+[u4]2 // num_elements
+[u8]0 // null keys array
+[dist8]value_array_ptr
+[anchr]map_data_struct_header
+
+[anchr]value_array_ptr
+[dist4]value_array_member // num_bytes
+[u4]2 // num_elements
+1 2
+[anchr]value_array_member

Powered by Google App Engine
This is Rietveld 408576698