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

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

Issue 1618963006: Mojo C++ bindings: support enum validation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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_mthd14_good_uknown_extensible_enum_value.data
diff --git a/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd13_good_2.data b/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd14_good_uknown_extensible_enum_value.data
similarity index 54%
copy from mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd13_good_2.data
copy to mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd14_good_uknown_extensible_enum_value.data
index b739731093e790cf1dee896f389e40dfb71df6ce..50b9ea33b0a7889610849e7d2d67d14cf7c0f80e 100644
--- a/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd13_good_2.data
+++ b/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd14_good_uknown_extensible_enum_value.data
@@ -1,19 +1,13 @@
-[handles]2
-
[dist4]message_header // num_bytes
[u4]0 // version
[u4]0 // interface ID
-[u4]13 // name
+[u4]14 // name
[u4]0 // flags
[u4]0 // padding
[anchr]message_header
-[dist4]method13_params // num_bytes
+[dist4]method14_params // num_bytes
[u4]0 // version
[u4]0 // param0
-[u4]1234
-[u4]65535 // param1
-[u4]1 // param2
-[u4]3242
-[u4]0 // padding
-[anchr]method13_params
+[u4]0xFFFFFFFF // param1: Unknown value is okay for extensible enum.
+[anchr]method14_params

Powered by Google App Engine
This is Rietveld 408576698