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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationTitleUpdatedTest.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 | « chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationTestUtils.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/media/ui/NotificationTitleUpdatedTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationTitleUpdatedTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationTitleUpdatedTest.java
index f06eecca344f8c4c8c91fa4c950702a30d07dc40..baf5eccd78bb4dc7b9c43579fe4e4f185548d01b 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationTitleUpdatedTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationTitleUpdatedTest.java
@@ -189,14 +189,14 @@ public class NotificationTitleUpdatedTest extends ChromeActivityTestCaseBase<Chr
}
@SmallTest
- public void testMediaMetadataPersistsAfterSamePageNavigation() throws Throwable {
+ public void testMediaMetadataPersistsAfterSameDocumentNavigation() throws Throwable {
ensureTestServer();
loadUrl(mTestServer.getURL(TEST_PAGE_URL_1));
simulateMediaSessionStateChanged(mTab, true, false);
simulateMediaSessionMetadataChanged(mTab, new MediaMetadata("title2", "", ""));
assertTitleMatches("title2");
- NotificationTestUtils.simulateSamePageNavigation(
+ NotificationTestUtils.simulateSameDocumentNavigation(
getInstrumentation(), mTab, mTestServer.getURL(TEST_PAGE_URL_1));
assertTitleMatches("title2");
}
« no previous file with comments | « chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationTestUtils.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698