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

Side by Side Diff: mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd11_good_version_newer_than_known_1.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, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 [dist4]message_header // num_bytes
2 [u4]2 // version
3 [u4]11 // name
4 [u4]0 // flags
5 [anchr]message_header
6
7 [dist4]method11_params // num_bytes
8 [u4]1 // version
9 [dist8]param0_ptr // param0
10 [anchr]method11_params
11
12 [anchr]param0_ptr
13 [dist4]struct_g // num_bytes
14 [u4]5 // version: Newer than what the validator knows.
15 // It is okay that the size is the same as the latest
16 // version that the validator knows.
17 [s4]123 // i
18 [b]00000001 // b
19 0 0 0 // padding
20 [u8]0 // struct_a
21 [dist8]str_ptr // str
22 [anchr]struct_g
23
24 [anchr]str_ptr
25 [dist4]string // num_bytes
26 [u4]2 // num_elements
27 0 1
28 [anchr]string
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698