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 |