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

Side by Side Diff: android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientFullScreenVideoTest.java

Issue 12880022: [android_webview] Rename AndroidWebView* -> Aw*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.android_webview.test; 5 package org.chromium.android_webview.test;
6 6
7 import android.test.suitebuilder.annotation.SmallTest; 7 import android.test.suitebuilder.annotation.SmallTest;
8 import android.test.TouchUtils; 8 import android.test.TouchUtils;
9 import android.view.KeyEvent; 9 import android.view.KeyEvent;
10 10
11 import org.chromium.android_webview.test.util.VideoTestWebServer; 11 import org.chromium.android_webview.test.util.VideoTestWebServer;
12 import org.chromium.base.test.util.DisabledTest; 12 import org.chromium.base.test.util.DisabledTest;
13 import org.chromium.base.test.util.Feature; 13 import org.chromium.base.test.util.Feature;
14 14
15 /** 15 /**
16 * Test WebChromeClient::onShow/HideCustomView. 16 * Test WebChromeClient::onShow/HideCustomView.
17 */ 17 */
18 public class AwContentsClientFullScreenVideoTest extends AndroidWebViewTestBase { 18 public class AwContentsClientFullScreenVideoTest extends AwTestBase {
19 19
20 /* 20 /*
21 * @Feature({"AndroidWebView"}) 21 * @Feature({"AndroidWebView"})
22 * @SmallTest 22 * @SmallTest
23 * http://crbug.com/180575 23 * http://crbug.com/180575
24 */ 24 */
25 @DisabledTest 25 @DisabledTest
26 public void testOnShowAndHideCustomView() throws Throwable { 26 public void testOnShowAndHideCustomView() throws Throwable {
27 FullScreenVideoTestAwContentsClient contentsClient = 27 FullScreenVideoTestAwContentsClient contentsClient =
28 new FullScreenVideoTestAwContentsClient(getActivity()); 28 new FullScreenVideoTestAwContentsClient(getActivity());
(...skipping 10 matching lines...) Expand all
39 TouchUtils.clickView(AwContentsClientFullScreenVideoTest.this, testC ontainerView); 39 TouchUtils.clickView(AwContentsClientFullScreenVideoTest.this, testC ontainerView);
40 contentsClient.waitForCustomViewShown(); 40 contentsClient.waitForCustomViewShown();
41 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_BACK); 41 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_BACK);
42 contentsClient.waitForCustomViewHidden(); 42 contentsClient.waitForCustomViewHidden();
43 } 43 }
44 finally { 44 finally {
45 if (webServer != null) webServer.getTestWebServer().shutdown(); 45 if (webServer != null) webServer.getTestWebServer().shutdown();
46 } 46 }
47 } 47 }
48 } 48 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698