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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/TabularContextMenuUiTest.java

Issue 2775373002: Add a Share Icon to Tabular Context Menu (Closed)
Patch Set: Fixed more tests! 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
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/share/ShareHelper.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/TabularContextMenuUiTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/TabularContextMenuUiTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/TabularContextMenuUiTest.java
index c6f8ba8e2ae66ee8c52d9b8a19dd9b59e09aa294..9ddeb0a83b96069074d1979c5b6e9655808d223f 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/TabularContextMenuUiTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/TabularContextMenuUiTest.java
@@ -61,7 +61,7 @@ public class TabularContextMenuUiTest extends ChromeActivityTestCaseBase<ChromeA
@SmallTest
@Feature({"CustomContextMenu"})
public void testViewDisplaysSingleItemProperly() throws ExecutionException {
- final TabularContextMenuUi dialog = new TabularContextMenuUi();
+ final TabularContextMenuUi dialog = new TabularContextMenuUi(null);
final List<Pair<Integer, List<ContextMenuItem>>> itemGroups = new ArrayList<>();
List<ContextMenuItem> item = CollectionUtil.newArrayList(ContextMenuItem.ADD_TO_CONTACTS,
@@ -82,7 +82,7 @@ public class TabularContextMenuUiTest extends ChromeActivityTestCaseBase<ChromeA
@SmallTest
@Feature({"CustomContextMenu"})
public void testViewDisplaysViewPagerForMultipleItems() throws ExecutionException {
- final TabularContextMenuUi dialog = new TabularContextMenuUi();
+ final TabularContextMenuUi dialog = new TabularContextMenuUi(null);
final List<Pair<Integer, List<ContextMenuItem>>> itemGroups = new ArrayList<>();
List<ContextMenuItem> item = CollectionUtil.newArrayList(ContextMenuItem.ADD_TO_CONTACTS,
@@ -104,7 +104,7 @@ public class TabularContextMenuUiTest extends ChromeActivityTestCaseBase<ChromeA
@SmallTest
@Feature({"CustomContextMenu"})
public void testURLIsShownOnContextMenu() throws ExecutionException {
- final TabularContextMenuUi dialog = new TabularContextMenuUi();
+ final TabularContextMenuUi dialog = new TabularContextMenuUi(null);
final List<ContextMenuItem> item =
CollectionUtil.newArrayList(ContextMenuItem.ADD_TO_CONTACTS, ContextMenuItem.CALL,
ContextMenuItem.COPY_LINK_ADDRESS);
@@ -124,7 +124,7 @@ public class TabularContextMenuUiTest extends ChromeActivityTestCaseBase<ChromeA
@SmallTest
@Feature({"CustomContextMenu"})
public void testHeaderIsNotShownWhenThereIsNoParams() throws ExecutionException {
- final TabularContextMenuUi dialog = new TabularContextMenuUi();
+ final TabularContextMenuUi dialog = new TabularContextMenuUi(null);
final List<ContextMenuItem> item =
CollectionUtil.newArrayList(ContextMenuItem.ADD_TO_CONTACTS, ContextMenuItem.CALL,
ContextMenuItem.COPY_LINK_ADDRESS);
@@ -143,7 +143,7 @@ public class TabularContextMenuUiTest extends ChromeActivityTestCaseBase<ChromeA
@SmallTest
@Feature({"CustomContextMenu"})
public void testLinkShowsMultipleLinesWhenClicked() throws ExecutionException {
- final TabularContextMenuUi dialog = new TabularContextMenuUi();
+ final TabularContextMenuUi dialog = new TabularContextMenuUi(null);
final List<ContextMenuItem> item =
CollectionUtil.newArrayList(ContextMenuItem.ADD_TO_CONTACTS, ContextMenuItem.CALL,
ContextMenuItem.COPY_LINK_ADDRESS);
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/share/ShareHelper.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698