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

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/ClipboardTest.java

Issue 460453002: Fixed Compilation issues related to API Level of Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added call to quit() for OS version less than JELLY_BEAN_MR2 Created 6 years, 4 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: content/public/android/javatests/src/org/chromium/content/browser/ClipboardTest.java
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/ClipboardTest.java b/content/public/android/javatests/src/org/chromium/content/browser/ClipboardTest.java
index f0b554691c42ce246c67e0ccf85eca34b073b0e1..296b808b28276418c4dc175a73c8521e27042d7c 100644
--- a/content/public/android/javatests/src/org/chromium/content/browser/ClipboardTest.java
+++ b/content/public/android/javatests/src/org/chromium/content/browser/ClipboardTest.java
@@ -4,6 +4,7 @@
package org.chromium.content.browser;
+import android.annotation.TargetApi;
import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.Context;
@@ -47,6 +48,7 @@ public class ClipboardTest extends ContentShellTestBase {
* the HTML representation of the fragment to be available.
*/
@LargeTest
+ @TargetApi(Build.VERSION_CODES.JELLY_BEAN)
@Feature({"Clipboard","TextInput"})
@RerunWithUpdatedContainerView
public void testCopyDocumentFragment() throws Throwable {
@@ -116,4 +118,4 @@ public class ClipboardTest extends ContentShellTestBase {
return false;
}
-}
+}

Powered by Google App Engine
This is Rietveld 408576698