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

Side by Side Diff: mojo/public/interfaces/bindings/tests/test_structs.mojom

Issue 755313011: Fix java bindings with array of maps. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « no previous file | mojo/public/js/struct_unittests.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [JavaPackage="org.chromium.mojo.bindings.test.mojom.test_structs"] 5 [JavaPackage="org.chromium.mojo.bindings.test.mojom.test_structs"]
6 module mojo.test; 6 module mojo.test;
7 7
8 import "mojo/public/interfaces/bindings/tests/rect.mojom"; 8 import "mojo/public/interfaces/bindings/tests/rect.mojom";
9 9
10 struct NamedRegion { 10 struct NamedRegion {
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 // Used to verify that some common or difficult value types can be encoded and 129 // Used to verify that some common or difficult value types can be encoded and
130 // decoded successfully. 130 // decoded successfully.
131 131
132 struct MapValueTypes { 132 struct MapValueTypes {
133 map<string, array<string>> f0; 133 map<string, array<string>> f0;
134 map<string, array<string>?> f1; 134 map<string, array<string>?> f1;
135 map<string, array<string?>> f2; 135 map<string, array<string?>> f2;
136 map<string, array<string, 2>> f3; 136 map<string, array<string, 2>> f3;
137 map<string, array<array<string, 2>?>> f4; 137 map<string, array<array<string, 2>?>> f4;
138 map<string, array<array<string, 2>, 1>> f5; 138 map<string, array<array<string, 2>, 1>> f5;
139 /* Disabled until Java bindings worked correctly.
140 map<string, Rect?> f6; 139 map<string, Rect?> f6;
141 map<string, map<string, string>> f7; 140 map<string, map<string, string>> f7;
142 map<string, array<map<string, string>>> f8; 141 map<string, array<map<string, string>>> f8;
143 */
144 }; 142 };
OLDNEW
« no previous file with comments | « no previous file | mojo/public/js/struct_unittests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698