OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 package org.chromium.content.browser; | 5 package org.chromium.content.browser; |
6 | 6 |
7 import android.test.suitebuilder.annotation.SmallTest; | 7 import android.support.test.filters.SmallTest; |
8 | 8 |
9 import org.chromium.base.annotations.SuppressFBWarnings; | 9 import org.chromium.base.annotations.SuppressFBWarnings; |
10 import org.chromium.base.test.util.Feature; | 10 import org.chromium.base.test.util.Feature; |
11 | 11 |
12 /** | 12 /** |
13 * Part of the test suite for the Java Bridge. This test tests the | 13 * Part of the test suite for the Java Bridge. This test tests the |
14 * use of fields. | 14 * use of fields. |
15 */ | 15 */ |
16 public class JavaBridgeFieldsTest extends JavaBridgeTestBase { | 16 public class JavaBridgeFieldsTest extends JavaBridgeTestBase { |
17 @SuppressFBWarnings({ | 17 @SuppressFBWarnings({ |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 assertEquals("undefined", | 84 assertEquals("undefined", |
85 executeJavaScriptAndGetStringResult("typeof testObject.doubleFie
ld")); | 85 executeJavaScriptAndGetStringResult("typeof testObject.doubleFie
ld")); |
86 assertEquals("undefined", | 86 assertEquals("undefined", |
87 executeJavaScriptAndGetStringResult("typeof testObject.objectFie
ld")); | 87 executeJavaScriptAndGetStringResult("typeof testObject.objectFie
ld")); |
88 assertEquals("undefined", | 88 assertEquals("undefined", |
89 executeJavaScriptAndGetStringResult("typeof testObject.stringFie
ld")); | 89 executeJavaScriptAndGetStringResult("typeof testObject.stringFie
ld")); |
90 assertEquals("undefined", | 90 assertEquals("undefined", |
91 executeJavaScriptAndGetStringResult("typeof testObject.customTyp
eField")); | 91 executeJavaScriptAndGetStringResult("typeof testObject.customTyp
eField")); |
92 } | 92 } |
93 } | 93 } |
OLD | NEW |