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

Unified Diff: third_party/WebKit/LayoutTests/mojo/resources/data/validation/conformance_mthd15_good_empy_enum_array.data

Issue 2745293005: Moving mojo/validation test into LayoutTests (Closed)
Patch Set: put back old data files Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/mojo/resources/data/validation/conformance_mthd15_good_empy_enum_array.data
diff --git a/third_party/WebKit/LayoutTests/mojo/resources/data/validation/conformance_mthd15_good_empy_enum_array.data b/third_party/WebKit/LayoutTests/mojo/resources/data/validation/conformance_mthd15_good_empy_enum_array.data
new file mode 100644
index 0000000000000000000000000000000000000000..21af8a3df1da261b6b17bb6a133730a18bf0c328
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/mojo/resources/data/validation/conformance_mthd15_good_empy_enum_array.data
@@ -0,0 +1,22 @@
+[dist4]message_header // num_bytes
+[u4]0 // version
+[u4]0 // interface ID
+[u4]15 // name
+[u4]0 // flags
+[u4]0 // padding
+[anchr]message_header
+
+[dist4]method15_params // num_bytes
+[u4]0 // version
+[dist8]enum_array_0 // param0
+[u8]0 // param1
+[anchr]method15_params
+
+[anchr]enum_array_0
+[dist4]enum_array_0_member // num_bytes
+[u4]0 // num_elements
+[anchr]enum_array_0_member
+
+[u8]0x5678 // This is not part of the array above (which is
+ // empty), so enum validation shouldn't be done on
+ // it.

Powered by Google App Engine
This is Rietveld 408576698