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

Unified Diff: mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd11_good_version2.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_version2.data
diff --git a/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd11_good_version2.data b/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd11_good_version2.data
new file mode 100644
index 0000000000000000000000000000000000000000..2fcd552239e04757b3117b9b39ca70f1c9f191e8
--- /dev/null
+++ b/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd11_good_version2.data
@@ -0,0 +1,18 @@
+[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]2 // version
+[s4]123 // i
+[u4]0 // padding
+[u8]0 // struct_a
+[anchr]struct_g

Powered by Google App Engine
This is Rietveld 408576698