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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationActionsUpdatedTest.java

Issue 2826203002: Use SameDocument term instead of SamePage in android media tests. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationTestUtils.java » ('j') | 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/media/ui/NotificationActionsUpdatedTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationActionsUpdatedTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationActionsUpdatedTest.java
index e33e20387c7749937fc537674f10a72d4d5962d0..b57309dba14e52a6244123b84db0e6f5878df35c 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationActionsUpdatedTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationActionsUpdatedTest.java
@@ -75,14 +75,14 @@ public class NotificationActionsUpdatedTest extends ChromeActivityTestCaseBase<C
}
@SmallTest
- public void testActionsPersistAfterSamePageNavigation() throws Throwable {
+ public void testActionsPersistAfterSameDocumentNavigation() throws Throwable {
ensureTestServer();
loadUrl(mTestServer.getURL(TEST_PAGE_URL));
simulateMediaSessionActionsChanged(mTab, buildActions());
simulateMediaSessionStateChanged(mTab, true, false);
assertActionsMatch(buildActions());
- NotificationTestUtils.simulateSamePageNavigation(
+ NotificationTestUtils.simulateSameDocumentNavigation(
getInstrumentation(), mTab, mTestServer.getURL(TEST_PAGE_URL));
assertActionsMatch(buildActions());
}
« no previous file with comments | « no previous file | chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationTestUtils.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698