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

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

Issue 1863353002: 🎯 Fail if an instrumentation test is missing size annotation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add annotation for SiteSettingsPreferencesTest.java Created 4 years, 8 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/android/javatests/src/org/chromium/chrome/browser/preferences/website/SiteSettingsPreferencesTest.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/javatests/src/org/chromium/content/browser/PhoneNumberDetectionTest.java
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/PhoneNumberDetectionTest.java b/content/public/android/javatests/src/org/chromium/content/browser/PhoneNumberDetectionTest.java
index f2b82f208137a35c5a3412d7e3dc96031140d20c..899dda3c2474a301bff489aa1836abf83064785c 100644
--- a/content/public/android/javatests/src/org/chromium/content/browser/PhoneNumberDetectionTest.java
+++ b/content/public/android/javatests/src/org/chromium/content/browser/PhoneNumberDetectionTest.java
@@ -4,6 +4,9 @@
package org.chromium.content.browser;
+import android.test.suitebuilder.annotation.LargeTest;
+import android.test.suitebuilder.annotation.MediumTest;
+
import org.chromium.base.test.util.CommandLineFlags;
import org.chromium.base.test.util.Feature;
import org.chromium.content.common.ContentSwitches;
@@ -21,7 +24,7 @@ public class PhoneNumberDetectionTest extends ContentDetectionTestBase {
return intentUrl.equals(expectedUrl);
}
- /* @LargeTest */
+ @LargeTest
@Feature({"ContentDetection", "TabContents"})
@CommandLineFlags.Add(ContentSwitches.NETWORK_COUNTRY_ISO + "=US")
public void testInternationalNumberIntents() throws Throwable {
@@ -138,7 +141,7 @@ public class PhoneNumberDetectionTest extends ContentDetectionTestBase {
assertTrue(isExpectedTelephoneIntent(intentUrl, "+97144509500"));
}
- /* @MediumTest */
+ @MediumTest
@Feature({"ContentDetection", "TabContents"})
@CommandLineFlags.Add(ContentSwitches.NETWORK_COUNTRY_ISO + "=US")
public void testLocalUSNumbers() throws Throwable {
@@ -163,7 +166,7 @@ public class PhoneNumberDetectionTest extends ContentDetectionTestBase {
assertTrue(isExpectedTelephoneIntent(intentUrl, "+31205045100"));
}
- /* @MediumTest */
+ @MediumTest
@Feature({"ContentDetection", "TabContents"})
@CommandLineFlags.Add(ContentSwitches.NETWORK_COUNTRY_ISO + "=GB")
public void testLocalUKNumbers() throws Throwable {
@@ -188,7 +191,7 @@ public class PhoneNumberDetectionTest extends ContentDetectionTestBase {
assertTrue(isExpectedTelephoneIntent(intentUrl, "+31205045100"));
}
- /* @MediumTest */
+ @MediumTest
@Feature({"ContentDetection", "TabContents"})
@CommandLineFlags.Add(ContentSwitches.NETWORK_COUNTRY_ISO + "=FR")
public void testLocalFRNumbers() throws Throwable {
« no previous file with comments | « chrome/android/javatests/src/org/chromium/chrome/browser/preferences/website/SiteSettingsPreferencesTest.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698