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

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

Issue 110963003: Fixing all Java import ordering issues. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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.FlakyTest; 7 import android.test.FlakyTest;
8 import android.test.suitebuilder.annotation.LargeTest;
9 import android.test.suitebuilder.annotation.MediumTest;
10 8
11 import org.chromium.base.CommandLine;
12 import org.chromium.base.test.util.Feature; 9 import org.chromium.base.test.util.Feature;
13 import org.chromium.content.common.ContentSwitches; 10 import org.chromium.content.common.ContentSwitches;
14 11
15 /** 12 /**
16 * Test suite for phone number detection. 13 * Test suite for phone number detection.
17 */ 14 */
18 public class PhoneNumberDetectionTest extends ContentDetectionTestBase { 15 public class PhoneNumberDetectionTest extends ContentDetectionTestBase {
19 16
20 private static final String TELEPHONE_INTENT_PREFIX = "tel:"; 17 private static final String TELEPHONE_INTENT_PREFIX = "tel:";
21 18
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 217
221 // FR_3: (0) 237 211 992. 218 // FR_3: (0) 237 211 992.
222 intentUrl = scrollAndTapExpectingIntent("FR_3"); 219 intentUrl = scrollAndTapExpectingIntent("FR_3");
223 assertTrue(isExpectedTelephoneIntent(intentUrl, "+33237211992")); 220 assertTrue(isExpectedTelephoneIntent(intentUrl, "+33237211992"));
224 221
225 // International numbers should still work. 222 // International numbers should still work.
226 intentUrl = scrollAndTapExpectingIntent("International"); 223 intentUrl = scrollAndTapExpectingIntent("International");
227 assertTrue(isExpectedTelephoneIntent(intentUrl, "+31205045100")); 224 assertTrue(isExpectedTelephoneIntent(intentUrl, "+31205045100"));
228 } 225 }
229 } 226 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698