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

Side by Side Diff: mojo/android/javatests/src/org/chromium/mojo/bindings/BindingsTest.java

Issue 291903003: Generate java bindings for constants. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
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 package org.chromium.mojo.bindings;
6
7 import android.test.suitebuilder.annotation.SmallTest;
8
9 import junit.framework.TestCase;
10
11 import org.chromium.mojo.bindings.test.sample.SampleServiceConstants;
12
13 /**
14 * Testing generated classes and associated features.
15 */
16 public class BindingsTest extends TestCase {
17
18 /**
19 * Testing constants are correctly generated.
20 */
21 @SmallTest
22 public void testConstants() {
23 assertEquals(3, SampleServiceConstants.THREE);
rmcilroy 2014/05/20 12:43:29 Test it is of type Byte.TYPE, and is constant too?
qsr 2014/05/20 13:12:45 Done.
24 }
25
26 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698