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 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 } | |
OLD | NEW |