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

Unified Diff: third_party/WebKit/LayoutTests/mojo/resources/data/validation/conformance_mthd2_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_mthd2_wrong_layout_order.data
diff --git a/third_party/WebKit/LayoutTests/mojo/resources/data/validation/conformance_mthd2_wrong_layout_order.data b/third_party/WebKit/LayoutTests/mojo/resources/data/validation/conformance_mthd2_wrong_layout_order.data
new file mode 100644
index 0000000000000000000000000000000000000000..3038ed80975490def5d7975e6f3ddfcfb03621ba
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/mojo/resources/data/validation/conformance_mthd2_wrong_layout_order.data
@@ -0,0 +1,34 @@
+[dist4]message_header // num_bytes
+[u4]0 // version
+[u4]0 // interface ID
+[u4]2 // name
+[u4]0 // flags
+[u4]0 // padding
+[anchr]message_header
+
+[dist4]method2_params // num_bytes
+[u4]0 // version
+[dist8]param0_ptr // param0
+[dist8]param1_ptr // param1
+[anchr]method2_params
+
+[anchr]param0_ptr
+[dist4]struct_b // num_bytes
+[u4]0 // version
+[dist8]struct_a_ptr // struct_a
+[anchr]struct_b
+
+// The following two structs are arranged in wrong order.
+
+[anchr]param1_ptr
+[dist4]struct_a_param // num_bytes
+[u4]0 // version
+[u8]67890 // i
+[anchr]struct_a_param
+
+[anchr]struct_a_ptr
+[dist4]struct_a_member // num_bytes
+[u4]0 // version
+[u8]12345 // i
+[anchr]struct_a_member
+

Powered by Google App Engine
This is Rietveld 408576698