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

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

Issue 651823005: mojom: Add conformance tests for map<>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hans pointed out this work around. Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 5
6 [JavaPackage="org.chromium.mojo.bindings.test.mojom.mojo"] 6 [JavaPackage="org.chromium.mojo.bindings.test.mojom.mojo"]
7 module mojo.test { 7 module mojo.test {
8 8
9 struct StructA { 9 struct StructA {
10 uint64 i; 10 uint64 i;
(...skipping 24 matching lines...) Expand all
35 Method0(float param0); 35 Method0(float param0);
36 Method1(StructA param0); 36 Method1(StructA param0);
37 Method2(StructB param0, StructA param1); 37 Method2(StructB param0, StructA param1);
38 Method3(array<bool> param0); 38 Method3(array<bool> param0);
39 Method4(StructC param0, array<uint8> param1); 39 Method4(StructC param0, array<uint8> param1);
40 Method5(StructE param0, handle<data_pipe_producer> param1); 40 Method5(StructE param0, handle<data_pipe_producer> param1);
41 Method6(array<array<uint8>> param0); 41 Method6(array<array<uint8>> param0);
42 Method7(StructF param0, array<uint8, 5> param1); 42 Method7(StructF param0, array<uint8, 5> param1);
43 Method8(array<array<string>?> param0); 43 Method8(array<array<string>?> param0);
44 Method9(array<array<handle?>>? param0); 44 Method9(array<array<handle?>>? param0);
45 Method10(map<string, uint8> param0);
yzshen1 2014/10/15 18:07:44 (optional) It would be nice to have a test for mor
Elliot Glaysher 2014/10/15 19:29:52 I tried making a test case for that, but it doesn'
45 }; 46 };
46 47
47 struct BasicStruct { 48 struct BasicStruct {
48 int32 a; 49 int32 a;
49 }; 50 };
50 51
51 [Client=IntegrationTestInterface2] 52 [Client=IntegrationTestInterface2]
52 interface IntegrationTestInterface1 { 53 interface IntegrationTestInterface1 {
53 Method0(BasicStruct param0); 54 Method0(BasicStruct param0);
54 }; 55 };
55 56
56 [Client=IntegrationTestInterface1] 57 [Client=IntegrationTestInterface1]
57 interface IntegrationTestInterface2 { 58 interface IntegrationTestInterface2 {
58 Method0() => (array<uint8> param0); 59 Method0() => (array<uint8> param0);
59 }; 60 };
60 61
61 } 62 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698