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

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

Issue 2500963003: Disable AutoplayMutedNotificationTest on low end devices. (Closed)
Patch Set: Created 4 years, 1 month 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 | 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/AutoplayMutedNotificationTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/AutoplayMutedNotificationTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/AutoplayMutedNotificationTest.java
index 3e7a1ba61d2515c1159d721fc655bf916ed62167..8ec407f410cfb3bce4a9b4ca4371f1a3c2fc2d5b 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/AutoplayMutedNotificationTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/AutoplayMutedNotificationTest.java
@@ -4,10 +4,13 @@
package org.chromium.chrome.browser.media.ui;
+import static org.chromium.base.test.util.Restriction.RESTRICTION_TYPE_NON_LOW_END_DEVICE;
+
import android.content.Context;
import android.media.AudioManager;
import android.test.suitebuilder.annotation.SmallTest;
+import org.chromium.base.test.util.Restriction;
import org.chromium.chrome.R;
import org.chromium.chrome.browser.ChromeActivity;
import org.chromium.chrome.browser.tab.Tab;
@@ -83,6 +86,7 @@ public class AutoplayMutedNotificationTest extends ChromeActivityTestCaseBase<Ch
}
@SmallTest
+ @Restriction(RESTRICTION_TYPE_NON_LOW_END_DEVICE)
public void testBasic() throws Exception {
Tab tab = getActivity().getActivityTab();
@@ -103,6 +107,7 @@ public class AutoplayMutedNotificationTest extends ChromeActivityTestCaseBase<Ch
}
@SmallTest
+ @Restriction(RESTRICTION_TYPE_NON_LOW_END_DEVICE)
public void testDoesNotReactToAudioFocus() throws Exception {
Tab tab = getActivity().getActivityTab();
@@ -125,6 +130,7 @@ public class AutoplayMutedNotificationTest extends ChromeActivityTestCaseBase<Ch
}
@SmallTest
+ @Restriction(RESTRICTION_TYPE_NON_LOW_END_DEVICE)
public void testAutoplayMutedThenUnmute() throws Exception {
Tab tab = getActivity().getActivityTab();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698