Index: mojo/android/javatests/src/org/chromium/mojo/bindings/BindingsTest.java |
diff --git a/mojo/android/javatests/src/org/chromium/mojo/bindings/BindingsTest.java b/mojo/android/javatests/src/org/chromium/mojo/bindings/BindingsTest.java |
new file mode 100644 |
index 0000000000000000000000000000000000000000..181b51e7963210087c461942be0d331b92d3ca8b |
--- /dev/null |
+++ b/mojo/android/javatests/src/org/chromium/mojo/bindings/BindingsTest.java |
@@ -0,0 +1,26 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+package org.chromium.mojo.bindings; |
+ |
+import android.test.suitebuilder.annotation.SmallTest; |
+ |
+import junit.framework.TestCase; |
+ |
+import org.chromium.mojo.bindings.test.sample.SampleServiceConstants; |
+ |
+/** |
+ * Testing generated classes and associated features. |
+ */ |
+public class BindingsTest extends TestCase { |
+ |
+ /** |
+ * Testing constants are correctly generated. |
+ */ |
+ @SmallTest |
+ public void testConstants() { |
+ 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.
|
+ } |
+ |
+} |