Commit 8ea14c53 authored by boliu@chromium.org's avatar boliu@chromium.org

[Android WebView] Enable video tests

These should be working now.

BUG=238735
NOTRY=true

Review URL: https://codereview.chromium.org/133613003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245637 0039d316-1c4b-4281-b951-d872f2087c98
parent 77759005
...@@ -4,10 +4,11 @@ ...@@ -4,10 +4,11 @@
package org.chromium.android_webview.test; package org.chromium.android_webview.test;
import android.test.suitebuilder.annotation.SmallTest;
import android.view.KeyEvent; import android.view.KeyEvent;
import org.chromium.android_webview.test.util.VideoTestWebServer; import org.chromium.android_webview.test.util.VideoTestWebServer;
import org.chromium.base.test.util.DisabledTest; import org.chromium.base.test.util.Feature;
import org.chromium.content.browser.test.util.TouchCommon; import org.chromium.content.browser.test.util.TouchCommon;
/** /**
...@@ -15,13 +16,8 @@ import org.chromium.content.browser.test.util.TouchCommon; ...@@ -15,13 +16,8 @@ import org.chromium.content.browser.test.util.TouchCommon;
*/ */
public class AwContentsClientFullScreenVideoTest extends AwTestBase { public class AwContentsClientFullScreenVideoTest extends AwTestBase {
/** @Feature({"AndroidWebView"})
* @Feature({"AndroidWebView"}) @SmallTest
* @SmallTest
*
* http://crbug.com/238735
*/
@DisabledTest
public void testOnShowAndHideCustomView() throws Throwable { public void testOnShowAndHideCustomView() throws Throwable {
FullScreenVideoTestAwContentsClient contentsClient = FullScreenVideoTestAwContentsClient contentsClient =
new FullScreenVideoTestAwContentsClient(getActivity()); new FullScreenVideoTestAwContentsClient(getActivity());
......
...@@ -4,11 +4,12 @@ ...@@ -4,11 +4,12 @@
package org.chromium.android_webview.test; package org.chromium.android_webview.test;
import android.test.suitebuilder.annotation.SmallTest;
import android.view.View; import android.view.View;
import org.chromium.android_webview.AwContents; import org.chromium.android_webview.AwContents;
import org.chromium.android_webview.test.util.VideoTestWebServer; import org.chromium.android_webview.test.util.VideoTestWebServer;
import org.chromium.base.test.util.DisabledTest; import org.chromium.base.test.util.Feature;
import org.chromium.content.browser.test.util.CallbackHelper; import org.chromium.content.browser.test.util.CallbackHelper;
import org.chromium.content.browser.test.util.TouchCommon; import org.chromium.content.browser.test.util.TouchCommon;
...@@ -45,13 +46,8 @@ public class AwContentsClientGetVideoLoadingProgressViewTest extends AwTestBase ...@@ -45,13 +46,8 @@ public class AwContentsClientGetVideoLoadingProgressViewTest extends AwTestBase
} }
/** @Feature({"AndroidWebView"})
* @Feature({"AndroidWebView"}) @SmallTest
* @SmallTest
*
* http://crbug.com/238735
*/
@DisabledTest
public void testGetVideoLoadingProgressView() throws Throwable { public void testGetVideoLoadingProgressView() throws Throwable {
TestAwContentsClient contentsClient = TestAwContentsClient contentsClient =
new FullScreenVideoTestAwContentsClient(getActivity()) { new FullScreenVideoTestAwContentsClient(getActivity()) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment