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

Side by Side Diff: content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeFieldsTest.java

Issue 2583933003: Replace deprecated Android java test annotations (Closed)
Patch Set: Created 4 years 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
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698