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

Unified Diff: base/test/android/javatests/src/org/chromium/base/test/util/Restriction.java

Issue 2406973002: Only run camera tests on devices with cameras (Closed)
Patch Set: Created 4 years, 2 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: base/test/android/javatests/src/org/chromium/base/test/util/Restriction.java
diff --git a/base/test/android/javatests/src/org/chromium/base/test/util/Restriction.java b/base/test/android/javatests/src/org/chromium/base/test/util/Restriction.java
index 9d27d42a897a39844355f6e8dfc1e78d2fca0ccf..f39bfbd7838eadd766075203ff0f30ddf190fe0f 100644
--- a/base/test/android/javatests/src/org/chromium/base/test/util/Restriction.java
+++ b/base/test/android/javatests/src/org/chromium/base/test/util/Restriction.java
@@ -27,6 +27,9 @@ public @interface Restriction {
/** Specifies the test is only valid on a device that can reach the internet. */
public static final String RESTRICTION_TYPE_INTERNET = "Internet";
+ /** Specifies the test is only valid on a device that has a camera. */
+ public static final String RESTRICTION_TYPE_HAS_CAMERA = "Has_Camera";
+
/**
* @return A list of restrictions.
*/

Powered by Google App Engine
This is Rietveld 408576698