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

Unified Diff: chrome/android/junit/src/org/chromium/chrome/browser/AppIndexingUtilTest.java

Issue 2826803002: Add UMA for CopylessPaste cache (Closed)
Patch Set: fix junit tests Created 3 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
Index: chrome/android/junit/src/org/chromium/chrome/browser/AppIndexingUtilTest.java
diff --git a/chrome/android/junit/src/org/chromium/chrome/browser/AppIndexingUtilTest.java b/chrome/android/junit/src/org/chromium/chrome/browser/AppIndexingUtilTest.java
index e7a7b00004950670909fbf69eb9c914e3a55d2b9..ecda0a7d16000b763cd966b2ebb7aff0caced190 100644
--- a/chrome/android/junit/src/org/chromium/chrome/browser/AppIndexingUtilTest.java
+++ b/chrome/android/junit/src/org/chromium/chrome/browser/AppIndexingUtilTest.java
@@ -14,6 +14,7 @@ import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.verifyNoMoreInteractions;
import org.junit.Before;
+import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -37,6 +38,8 @@ import org.chromium.url.mojom.Url;
@RunWith(LocalRobolectricTestRunner.class)
@Config(manifest = Config.NONE)
public class AppIndexingUtilTest {
+ @Rule
+ public DisableHistogramsRule mDisableHistogramsRule = new DisableHistogramsRule();
@Spy
AppIndexingUtil mUtil = new AppIndexingUtil();
@Mock
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/AppIndexingUtil.java ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698