Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 // Module containing entities for regression tests of the generator. Entities | 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. | 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"] | 7 [JavaPackage="org.chromium.mojo.bindings.test.mojom.regression_tests"] |
| 8 module regression_tests { | 8 module regression_tests { |
| 9 | 9 |
| 10 interface CheckMethodWithEmptyResponse { | 10 interface CheckMethodWithEmptyResponse { |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 27 }; | 27 }; |
| 28 | 28 |
| 29 enum EnumWithNumbers { | 29 enum EnumWithNumbers { |
| 30 k_2_1 = 4 | 30 k_2_1 = 4 |
| 31 }; | 31 }; |
| 32 | 32 |
| 33 enum EnumWithK { | 33 enum EnumWithK { |
| 34 K = 0 | 34 K = 0 |
| 35 }; | 35 }; |
| 36 | 36 |
| 37 struct Node { | |
| 38 Vertice? v; | |
|
viettrungluu
2014/10/01 17:18:23
nit: Vertice -> Vertex
qsr
2014/10/06 08:20:26
Done.
| |
| 39 }; | |
| 40 | |
| 41 struct Vertice { | |
|
viettrungluu
2014/10/01 17:18:23
"
qsr
2014/10/06 08:20:26
Done.
| |
| 42 EmptyStruct? e; | |
| 43 }; | |
| 44 | |
| 45 struct EmptyStruct { | |
| 46 }; | |
| 47 | |
| 48 struct A { | |
| 49 B? b; | |
| 50 }; | |
| 51 | |
| 52 struct B { | |
| 53 A? a; | |
| 54 }; | |
| 55 | |
| 37 } // module imported | 56 } // module imported |
| OLD | NEW |