OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 // Module containing entities for regression tests of the generator. Entities | |
6 // must never be modified, instead new entity must be added to add new tests. | |
7 [JavaPackage="org.chromium.mojo.bindings.test.mojom.regression_tests"] | |
8 module regression_tests; | |
9 | |
10 import "regression_tests_import.mojom"; | |
11 | |
12 interface CheckMethodWithEmptyResponse { | |
13 WithouParameterAndEmptyResponse() => (); | |
14 WithParameterAndEmptyResponse(bool b) => (); | |
15 }; | |
16 | |
17 interface CheckNameCollision { | |
18 WithNameCollision(bool message, bool response) => (bool message, bool response); | |
19 }; | |
20 | |
21 enum EnumWithReference { | |
22 k_STEREO_AND_KEYBOARD_MIC = 30, | |
23 k_MAX = k_STEREO_AND_KEYBOARD_MIC | |
24 }; | |
25 | |
26 enum EnumWithLowercase { | |
27 PlanarF16, | |
28 PlanarF32 | |
29 }; | |
30 | |
31 enum EnumWithNumbers { | |
32 k_2_1 = 4 | |
33 }; | |
34 | |
35 enum EnumWithK { | |
36 K = 0 | |
37 }; | |
38 | |
39 struct Edge { | |
40 Vertex? v; | |
41 }; | |
42 | |
43 struct Vertex { | |
44 EmptyStruct? e; | |
45 }; | |
46 | |
47 struct EmptyStruct { | |
48 }; | |
49 | |
50 struct A { | |
51 B? b; | |
52 }; | |
53 | |
54 struct B { | |
55 A? a; | |
56 }; | |
57 | |
58 [Client=InterfaceWithClientImportedClient] | |
59 interface InterfaceWithClientImported { | |
60 }; | |
OLD | NEW |