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

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

Issue 607933002: mojo: Fix java generator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix findbugs and emptu package. 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
(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 interface CheckMethodWithEmptyResponse {
11 WithouParameterAndEmptyResponse() => ();
12 WithParameterAndEmptyResponse(bool b) => ();
13 };
14
15 interface CheckNameCollision {
16 WithNameCollision(bool message, bool response) => (bool message, bool response);
17 };
18
19 enum EnumWithReference {
20 k_STEREO_AND_KEYBOARD_MIC = 30,
21 k_MAX = k_STEREO_AND_KEYBOARD_MIC
22 };
23
24 enum EnumWithLowercase {
25 PlanarF16,
26 PlanarF32
27 };
28
29 enum EnumWithNumbers {
30 k_2_1 = 4
31 };
32
33 enum EnumWithK {
34 K = 0
35 };
36
37 } // module imported
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698