зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1390356 - bustage: Use proper context menu constructor in tests. r=mcomella
MozReview-Commit-ID: EUo6DylQR3X --HG-- extra : rebase_source : e8c460efd040aba4cf9b4aedb378e0f7fcc96040 extra : source : dac4f5a57f0f196fc8e2a43950987f17d97036f9
This commit is contained in:
Родитель
96a0fd83cc
Коммит
1f8caac853
|
@ -231,7 +231,9 @@ public class testActivityStreamContextMenu extends BaseTest {
|
|||
private void testMenuForItem(Item item, boolean bookmarked, boolean pinned, boolean visited) {
|
||||
final View anchor = new View(getActivity());
|
||||
final ActivityStreamContextMenu menu = ActivityStreamContextMenu.show(
|
||||
getActivity(), anchor, ActivityStreamTelemetry.Extras.builder(), ActivityStreamContextMenu.MenuMode.HIGHLIGHT, item, null, null, 100, 100);
|
||||
getActivity(), anchor, ActivityStreamTelemetry.Extras.builder(),
|
||||
ActivityStreamContextMenu.MenuMode.HIGHLIGHT, item,
|
||||
false, null, null, 100, 100);
|
||||
|
||||
final int expectedBookmarkString;
|
||||
if (bookmarked) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче