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

Unified Diff: third_party/WebKit/LayoutTests/mojo/resources/data/validation/conformance_mthd4_wrong_layout_order.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_mthd4_wrong_layout_order.data
diff --git a/third_party/WebKit/LayoutTests/mojo/resources/data/validation/conformance_mthd4_wrong_layout_order.data b/third_party/WebKit/LayoutTests/mojo/resources/data/validation/conformance_mthd4_wrong_layout_order.data
new file mode 100644
index 0000000000000000000000000000000000000000..b61423a6d76407eea91afa35bdcadffe1fdd95b9
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/mojo/resources/data/validation/conformance_mthd4_wrong_layout_order.data
@@ -0,0 +1,35 @@
+[dist4]message_header // num_bytes
+[u4]0 // version
+[u4]0 // interface ID
+[u4]4 // name
+[u4]0 // flags
+[u4]0 // padding
+[anchr]message_header
+
+[dist4]method4_params // num_bytes
+[u4]0 // version
+[dist8]param0_ptr // param0
+[dist8]param1_ptr // param1
+[anchr]method4_params
+
+[anchr]param0_ptr
+[dist4]struct_c // num_bytes
+[u4]0 // version
+[dist8]array_ptr // array
+[anchr]struct_c
+
+// The following two arrays are arranged in wrong order.
+
+[anchr]param1_ptr
+[dist4]array_param // num_bytes
+[u4]10 // num_elements
+0 1 2 3 4 5 6 7 8 9
+[anchr]array_param
+
+[u4]0 [u2]0 // Padding to make the next array aligned properly.
+
+[anchr]array_ptr
+[dist4]array_member // num_bytes
+[u4]3 // num_elements
+0 1 2
+[anchr]array_member

Powered by Google App Engine
This is Rietveld 408576698