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

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

Issue 951573002: Add validation test cases for struct versioning. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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_good_version3.data
diff --git a/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd11_good_version3.data b/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd11_good_version3.data
new file mode 100644
index 0000000000000000000000000000000000000000..940ac88e549c507a66a5b7c06cc73316a0560f2f
--- /dev/null
+++ b/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd11_good_version3.data
@@ -0,0 +1,26 @@
+[dist4]message_header // num_bytes
+[u4]2 // version
+[u4]11 // name
+[u4]0 // flags
+[anchr]message_header
+
+[dist4]method11_params // num_bytes
+[u4]1 // version
+[dist8]param0_ptr // param0
+[anchr]method11_params
+
+[anchr]param0_ptr
+[dist4]struct_g // num_bytes
+[u4]3 // version
+[s4]123 // i
+[b]00000001 // b
+0 0 0 // padding
+[u8]0 // struct_a
+[dist8]str_ptr // str
+[anchr]struct_g
+
+[anchr]str_ptr
+[dist4]string // num_bytes
+[u4]2 // num_elements
+0 1
+[anchr]string

Powered by Google App Engine
This is Rietveld 408576698