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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/VrShellTest.java

Issue 2753303002: Add screen tap WebVR tests (Closed)
Patch Set: Created 3 years, 9 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/vr_shell/WebVrTest.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/vr_shell/VrShellTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/VrShellTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/VrShellTest.java
index dee0498f6d8410847837752658c55f44231c9df4..e09455c481ea0e470fea409da6f086225fdaf6d8 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/VrShellTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/VrShellTest.java
@@ -4,9 +4,9 @@
package org.chromium.chrome.browser.vr_shell;
-import static org.chromium.chrome.test.util.ChromeRestriction.RESTRICTION_TYPE_DAYDREAM;
-import static org.chromium.chrome.test.util.ChromeRestriction.RESTRICTION_TYPE_DAYDREAM_VIEW;
-import static org.chromium.chrome.test.util.ChromeRestriction.RESTRICTION_TYPE_NON_DAYDREAM;
+import static org.chromium.chrome.test.util.ChromeRestriction.RESTRICTION_TYPE_DEVICE_DAYDREAM;
+import static org.chromium.chrome.test.util.ChromeRestriction.RESTRICTION_TYPE_DEVICE_NON_DAYDREAM;
+import static org.chromium.chrome.test.util.ChromeRestriction.RESTRICTION_TYPE_VIEWER_DAYDREAM;
import android.content.pm.ActivityInfo;
import android.support.test.filters.MediumTest;
@@ -131,7 +131,7 @@ public class VrShellTest extends ChromeTabbedActivityTestBase {
* NFC tag is scanned on a Daydream-ready device. Requires that the phone
* is unlocked.
*/
- @Restriction({RESTRICTION_TYPE_DAYDREAM, RESTRICTION_TYPE_DAYDREAM_VIEW})
+ @Restriction({RESTRICTION_TYPE_DEVICE_DAYDREAM, RESTRICTION_TYPE_VIEWER_DAYDREAM})
@MediumTest
public void testSimNfcSupported() {
enterVrModeNfc(true);
@@ -141,7 +141,7 @@ public class VrShellTest extends ChromeTabbedActivityTestBase {
* Verifies that the browser does not enter VR mode on Non-Daydream-ready
* devices when the Daydream headset NFC tag is scanned.
*/
- @Restriction(RESTRICTION_TYPE_NON_DAYDREAM)
+ @Restriction(RESTRICTION_TYPE_DEVICE_NON_DAYDREAM)
@SmallTest
public void testSimNfcUnsupported() {
enterVrModeNfc(false);
@@ -151,7 +151,7 @@ public class VrShellTest extends ChromeTabbedActivityTestBase {
* Verifies that browser successfully enters and exits VR mode when told to
* on Daydream-ready devices. Requires that the phone is unlocked.
*/
- @Restriction(RESTRICTION_TYPE_DAYDREAM)
+ @Restriction(RESTRICTION_TYPE_DEVICE_DAYDREAM)
@SmallTest
public void testEnterExitVrModeSupported() {
enterExitVrMode(true);
@@ -160,7 +160,7 @@ public class VrShellTest extends ChromeTabbedActivityTestBase {
/**
* Verifies that browser does not enter VR mode on Non-Daydream-ready devices.
*/
- @Restriction(RESTRICTION_TYPE_NON_DAYDREAM)
+ @Restriction(RESTRICTION_TYPE_DEVICE_NON_DAYDREAM)
@SmallTest
public void testEnterExitVrModeUnsupported() {
enterExitVrMode(false);
@@ -171,7 +171,7 @@ public class VrShellTest extends ChromeTabbedActivityTestBase {
* on Daydream-ready devices via a screendiffing check.
* Requires that the phone is unlocked.
*/
- @Restriction(RESTRICTION_TYPE_DAYDREAM)
+ @Restriction(RESTRICTION_TYPE_DEVICE_DAYDREAM)
@Feature("RenderTest")
@MediumTest
public void testEnterExitVrModeSupportedImage() throws IOException {
@@ -182,7 +182,7 @@ public class VrShellTest extends ChromeTabbedActivityTestBase {
* Verifies that browser does not enter VR mode on Non-Daydream-ready devices
* via a screendiffing check. Requires that the phone is unlocked.
*/
- @Restriction(RESTRICTION_TYPE_NON_DAYDREAM)
+ @Restriction(RESTRICTION_TYPE_DEVICE_NON_DAYDREAM)
@Feature("RenderTest")
@MediumTest
public void testEnterExitVrModeUnsupportedImage() throws IOException {
« no previous file with comments | « no previous file | chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/WebVrTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698