| 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 import "regression_tests_import.mojom"; | |
| 11 | |
| 12 interface CheckMethodWithEmptyResponse { | 10 interface CheckMethodWithEmptyResponse { |
| 13 WithouParameterAndEmptyResponse() => (); | 11 WithouParameterAndEmptyResponse() => (); |
| 14 WithParameterAndEmptyResponse(bool b) => (); | 12 WithParameterAndEmptyResponse(bool b) => (); |
| 15 }; | 13 }; |
| 16 | 14 |
| 17 interface CheckNameCollision { | 15 interface CheckNameCollision { |
| 18 WithNameCollision(bool message, bool response) => (bool message, bool response); | 16 WithNameCollision(bool message, bool response) => (bool message, bool response); |
| 19 }; | 17 }; |
| 20 | 18 |
| 21 enum EnumWithReference { | 19 enum EnumWithReference { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 47 struct EmptyStruct { | 45 struct EmptyStruct { |
| 48 }; | 46 }; |
| 49 | 47 |
| 50 struct A { | 48 struct A { |
| 51 B? b; | 49 B? b; |
| 52 }; | 50 }; |
| 53 | 51 |
| 54 struct B { | 52 struct B { |
| 55 A? a; | 53 A? a; |
| 56 }; | 54 }; |
| 57 | |
| 58 [Client=InterfaceWithClientImportedClient] | |
| 59 interface InterfaceWithClientImported { | |
| 60 }; | |
| OLD | NEW |