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

Issue 888793002: Make content_browsertests for Chrome on Android running with valid Views (Closed)

Created:
5 years, 10 months ago by Jaekyun Seok (inactive)
Modified:
5 years, 10 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, mkwst+moarreviews-shell_chromium.org, jam, darin-cc_chromium.org, yfriedman+watch_chromium.org, klundberg+watch_chromium.org, jdduke+watch_chromium.org, jbudorick+watch_chromium.org, jochen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make content_browsertests for Chrome on Android running with valid Views - adds test activity layout into real view hierarchy. - runs tests after Activity.onCreate() is done. - doesn't load a default URL when testing. - enables TouchInputBrowserTest by setting initial scale for Android. - disables ScreenOrientationBrowserTest because it uses --disable-gpu - updates expected results of DumpAccessibilityTreeTest BUG=338011 Committed: https://crrev.com/6f5632dd60a95005f7902a1ca24022d64ac2134c Cr-Commit-Position: refs/heads/master@{#317979}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Set dummy Surface #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : Make Views working #

Patch Set 8 : Fix failures #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : #

Patch Set 16 : #

Patch Set 17 : Apply page scale factor #

Patch Set 18 : Clean up codes #

Patch Set 19 : #

Patch Set 20 : More clean up #

Total comments: 2

Patch Set 21 : Set valid physical backing size before viewport size is set #

Total comments: 6

Patch Set 22 : Remove applying page scale factor #

Total comments: 3

Patch Set 23 : Disable tests using --disable-gpu #

Patch Set 24 : Enable ChildDiscardableSharedMemoryManager #

Total comments: 4

Patch Set 25 : Add comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -37 lines) Patch
M build/android/pylib/gtest/filter/content_browsertests_disabled View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +4 lines, -7 lines 0 comments Download
M content/browser/renderer_host/input/touch_input_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +12 lines, -0 lines 0 comments Download
M content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsActivity.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +20 lines, -11 lines 0 comments Download
M content/shell/android/java/src/org/chromium/content_shell/ShellManager.java View 1 2 3 4 5 6 7 8 9 10 11 22 2 chunks +11 lines, -1 line 0 comments Download
M content/test/data/accessibility/html/a-with-img-expected-android.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +4 lines, -4 lines 0 comments Download
M content/test/data/accessibility/html/abbr-expected-android.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +2 lines, -2 lines 0 comments Download
M content/test/data/accessibility/html/bdo-expected-android.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/html/br-expected-android.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/html/cite-expected-android.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/html/del-expected-android.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/html/dfn-expected-android.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/html/i-expected-android.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/html/legend-expected-android.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +2 lines, -2 lines 0 comments Download
M content/test/data/accessibility/html/modal-dialog-in-iframe-closed-expected-android.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/html/modal-dialog-stack-expected-android.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/html/q-expected-android.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/html/sub-expected-android.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 29 (3 generated)
Jaekyun Seok (inactive)
Please review this CL.
5 years, 10 months ago (2015-02-09 23:04:50 UTC) #2
no sievers
https://codereview.chromium.org/888793002/diff/370001/content/browser/renderer_host/input/touch_input_browsertest.cc File content/browser/renderer_host/input/touch_input_browsertest.cc (right): https://codereview.chromium.org/888793002/diff/370001/content/browser/renderer_host/input/touch_input_browsertest.cc#newcode158 content/browser/renderer_host/input/touch_input_browsertest.cc:158: ->GenerateNewFrameForTesting(); Why do we need to do this, i.e. ...
5 years, 10 months ago (2015-02-09 23:11:20 UTC) #3
Jaekyun Seok (inactive)
https://codereview.chromium.org/888793002/diff/370001/content/browser/renderer_host/input/touch_input_browsertest.cc File content/browser/renderer_host/input/touch_input_browsertest.cc (right): https://codereview.chromium.org/888793002/diff/370001/content/browser/renderer_host/input/touch_input_browsertest.cc#newcode158 content/browser/renderer_host/input/touch_input_browsertest.cc:158: ->GenerateNewFrameForTesting(); On 2015/02/09 23:11:20, sievers wrote: > Why do ...
5 years, 10 months ago (2015-02-09 23:23:14 UTC) #4
no sievers
On 2015/02/09 23:23:14, Jaekyun Seok wrote: > https://codereview.chromium.org/888793002/diff/370001/content/browser/renderer_host/input/touch_input_browsertest.cc > File content/browser/renderer_host/input/touch_input_browsertest.cc (right): > > https://codereview.chromium.org/888793002/diff/370001/content/browser/renderer_host/input/touch_input_browsertest.cc#newcode158 ...
5 years, 10 months ago (2015-02-11 00:42:25 UTC) #5
Jaekyun Seok (inactive)
On 2015/02/11 00:42:25, sievers wrote: > On 2015/02/09 23:23:14, Jaekyun Seok wrote: > > > ...
5 years, 10 months ago (2015-02-11 02:05:29 UTC) #6
Jaekyun Seok (inactive)
PTAL. https://codereview.chromium.org/888793002/diff/390001/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java File content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java (right): https://codereview.chromium.org/888793002/diff/390001/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java#newcode109 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java:109: // In this case, we should resize it ...
5 years, 10 months ago (2015-02-12 08:33:54 UTC) #7
Jaekyun Seok (inactive)
PTAL.
5 years, 10 months ago (2015-02-12 08:33:57 UTC) #8
Jaekyun Seok (inactive)
https://codereview.chromium.org/888793002/diff/390001/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java File content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java (right): https://codereview.chromium.org/888793002/diff/390001/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java#newcode109 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java:109: // In this case, we should resize it before ...
5 years, 10 months ago (2015-02-13 10:15:22 UTC) #9
no sievers
+jdduke@ for changes to touch_input_browsertest.cc. Do we really have to do this ifdef everywhere that ...
5 years, 10 months ago (2015-02-18 22:02:38 UTC) #11
jdduke (slow)
https://codereview.chromium.org/888793002/diff/390001/content/browser/renderer_host/input/touch_input_browsertest.cc File content/browser/renderer_host/input/touch_input_browsertest.cc (right): https://codereview.chromium.org/888793002/diff/390001/content/browser/renderer_host/input/touch_input_browsertest.cc#newcode43 content/browser/renderer_host/input/touch_input_browsertest.cc:43: "<body onload='setup();'>" Can you just give this a mobile ...
5 years, 10 months ago (2015-02-18 22:07:03 UTC) #12
no sievers
https://codereview.chromium.org/888793002/diff/390001/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java File content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java (right): https://codereview.chromium.org/888793002/diff/390001/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java#newcode109 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java:109: // In this case, we should resize it before ...
5 years, 10 months ago (2015-02-21 00:45:54 UTC) #13
Jaekyun Seok (inactive)
PTAL. I removed applying page scale factor. And I added logic to disable actual composition ...
5 years, 10 months ago (2015-02-23 10:41:34 UTC) #14
no sievers
https://codereview.chromium.org/888793002/diff/410001/content/shell/android/java/src/org/chromium/content_shell/ShellManager.java File content/shell/android/java/src/org/chromium/content_shell/ShellManager.java (right): https://codereview.chromium.org/888793002/diff/410001/content/shell/android/java/src/org/chromium/content_shell/ShellManager.java#newcode172 content/shell/android/java/src/org/chromium/content_shell/ShellManager.java:172: if (!CommandLine.getInstance().hasSwitch("disable-gpu")) { On 2015/02/23 10:41:34, Jaekyun Seok (OOOuntilFeb23) ...
5 years, 10 months ago (2015-02-24 02:02:33 UTC) #15
Jaekyun Seok (inactive)
PTAL. I disabled tests using --disable-gpu. https://codereview.chromium.org/888793002/diff/410001/content/shell/android/java/src/org/chromium/content_shell/ShellManager.java File content/shell/android/java/src/org/chromium/content_shell/ShellManager.java (right): https://codereview.chromium.org/888793002/diff/410001/content/shell/android/java/src/org/chromium/content_shell/ShellManager.java#newcode172 content/shell/android/java/src/org/chromium/content_shell/ShellManager.java:172: if (!CommandLine.getInstance().hasSwitch("disable-gpu")) { ...
5 years, 10 months ago (2015-02-24 12:49:50 UTC) #16
no sievers
On 2015/02/24 12:49:50, Jaekyun Seok (OOOuntilFeb23) wrote: > PTAL. > > I disabled tests using ...
5 years, 10 months ago (2015-02-24 19:46:12 UTC) #17
Jaekyun Seok (inactive)
On 2015/02/24 19:46:12, sievers wrote: > On 2015/02/24 12:49:50, Jaekyun Seok (OOOuntilFeb23) wrote: > > ...
5 years, 10 months ago (2015-02-25 00:23:43 UTC) #18
jdduke (slow)
Could you also update the patch description to reflect what changes were made? Thanks!
5 years, 10 months ago (2015-02-25 00:53:36 UTC) #19
no sievers
This is great, thanks for being patient and letting us get the details all sorted ...
5 years, 10 months ago (2015-02-25 01:05:27 UTC) #20
Jaekyun Seok (inactive)
> Can you explain why the accessibility test expectations needed to change (in the cl ...
5 years, 10 months ago (2015-02-25 01:32:38 UTC) #21
Jaekyun Seok (inactive)
On 2015/02/25 00:53:36, jdduke wrote: > Could you also update the patch description to reflect ...
5 years, 10 months ago (2015-02-25 01:34:29 UTC) #22
no sievers
LGTM if Jared is happy
5 years, 10 months ago (2015-02-25 01:35:06 UTC) #23
jdduke (slow)
On 2015/02/25 01:35:06, sievers wrote: > LGTM if Jared is happy Yup, description looks good, ...
5 years, 10 months ago (2015-02-25 02:04:32 UTC) #24
Jaekyun Seok (inactive)
On 2015/02/25 02:04:32, jdduke wrote: > On 2015/02/25 01:35:06, sievers wrote: > > LGTM if ...
5 years, 10 months ago (2015-02-25 02:29:54 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/888793002/470001
5 years, 10 months ago (2015-02-25 02:31:13 UTC) #27
commit-bot: I haz the power
Committed patchset #25 (id:470001)
5 years, 10 months ago (2015-02-25 05:01:47 UTC) #28
commit-bot: I haz the power
5 years, 10 months ago (2015-02-25 05:02:18 UTC) #29
Message was sent while issue was closed.
Patchset 25 (id:??) landed as
https://crrev.com/6f5632dd60a95005f7902a1ca24022d64ac2134c
Cr-Commit-Position: refs/heads/master@{#317979}

Powered by Google App Engine
This is Rietveld 408576698