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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/ntp/cards/NewTabPageRecyclerViewTest.java

Issue 2754203004: 📰 Add tests for context menu usage (Closed)
Patch Set: rebase, dependent patch landing makes the tests pass Created 3 years, 9 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/javatests/src/org/chromium/chrome/browser/ntp/cards/NewTabPageRecyclerViewTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/cards/NewTabPageRecyclerViewTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/cards/NewTabPageRecyclerViewTest.java
index c617ea9f962b3de7ec04279e9592290105589f07..cc2b0777615b4759e724e3d3d44a5a17d766b33a 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/cards/NewTabPageRecyclerViewTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/cards/NewTabPageRecyclerViewTest.java
@@ -105,7 +105,7 @@ public void startMainActivity() throws InterruptedException {
public void run() {
// Create FakeMostVisitedSites after starting the activity, since it depends on
Michael van Ouwerkerk 2017/03/20 11:10:18 This is no longer true, please fix.
dgn 2017/03/20 16:06:44 Done.
// native code.
- mMostVisitedSites = new FakeMostVisitedSites(mTab.getProfile());
+ mMostVisitedSites = new FakeMostVisitedSites();
mMostVisitedSites.setTileSuggestions(FAKE_MOST_VISITED_TITLES, mSiteSuggestionUrls,
FAKE_MOST_VISITED_WHITELIST_ICON_PATHS, FAKE_MOST_VISITED_SOURCES);
}

Powered by Google App Engine
This is Rietveld 408576698