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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationTestUtils.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
Index: chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationTestUtils.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationTestUtils.java b/chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationTestUtils.java
index 143d234453c44556b6f02a88cd2b70ece27e5654..6515b2a8b953b9552546bcb5bda35b9fe748e7ed 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationTestUtils.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationTestUtils.java
@@ -15,12 +15,12 @@ import org.chromium.content_public.browser.LoadUrlParams;
*/
public class NotificationTestUtils {
/**
- * Simulates a same page navigation.
+ * Simulates a same document navigation.
* @param instrumentation The Instrumentation object for the test.
* @param tab The tab to be navigated.
* @param url The original URL. The URL to be navigated to is |url| + "#some-anchor".
*/
- public static void simulateSamePageNavigation(
+ public static void simulateSameDocumentNavigation(
Instrumentation instrumentation, final Tab tab, final String url) {
ThreadUtils.runOnUiThreadBlocking(new Runnable() {
@Override

Powered by Google App Engine
This is Rietveld 408576698