Index: android_webview/javatests/src/org/chromium/android_webview/test/ContentViewMiscTest.java |
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/ContentViewMiscTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/ContentViewMiscTest.java |
index 5998b343509414c094ce81112e1ed6d639fde9fb..42de0be09b47269272eb9f97e29a4d5053685506 100644 |
--- a/android_webview/javatests/src/org/chromium/android_webview/test/ContentViewMiscTest.java |
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/ContentViewMiscTest.java |
@@ -8,8 +8,6 @@ import android.content.BroadcastReceiver; |
import android.content.Context; |
import android.content.Intent; |
import android.content.IntentFilter; |
-import android.graphics.Bitmap; |
-import android.graphics.Color; |
import android.net.Proxy; |
import android.test.FlakyTest; |
import android.test.mock.MockContext; |
@@ -113,28 +111,4 @@ public class ContentViewMiscTest extends AwTestBase { |
receiverRef.get().onReceive(context, intent); |
assertEquals(true, proxyChanged.get()); |
} |
- |
- /** |
- * @SmallTest |
- * @Feature({"AndroidWebView"}) |
- * Bug 6931901 |
- */ |
- @DisabledTest |
- public void testSetGetBackgroundColor() throws Throwable { |
- loadUrlSync(mAwContents , mContentsClient.getOnPageFinishedHelper(), "about:blank"); |
- ThreadUtils.runOnUiThreadBlocking(new Runnable() { |
- @Override |
- public void run() { |
- mContentViewCore.setBackgroundColor(Color.MAGENTA); |
- } |
- }); |
- int backgroundColor = ThreadUtils.runOnUiThreadBlocking(new Callable<Integer>() { |
- @Override |
- public Integer call() { |
- Bitmap map = mContentViewCore.getBitmap(1, 1); |
- return map.getPixel(0,0); |
- } |
- }); |
- assertEquals(Color.MAGENTA, backgroundColor); |
- } |
} |