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

Issue 1950323002: Refactor web shell integration tests utilities. (Closed)

Created:
4 years, 7 months ago by baxley
Modified:
4 years, 7 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor web shell integration tests utilities. Decouple the test code so web view test code can be shared across the web shell and Chrome. BUG=606815 Committed: https://crrev.com/695a50d9ba4ec6f761f02783211fc8925d29678a Cr-Commit-Position: refs/heads/master@{#391949}

Patch Set 1 #

Patch Set 2 : expose WebState instead of ViewController #

Patch Set 3 : update comment for previous patch #

Patch Set 4 : alphabetize #

Total comments: 15

Patch Set 5 : clean up import/include #

Total comments: 15

Patch Set 6 : address comments #

Patch Set 7 : fix imports and includes #

Total comments: 9

Patch Set 8 : add gn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -299 lines) Patch
M ios/web/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M ios/web/ios_web.gyp View 1 chunk +4 lines, -0 lines 0 comments Download
M ios/web/ios_web_shell_tests.gyp View 1 2 3 2 chunks +11 lines, -13 lines 0 comments Download
A + ios/web/public/test/earl_grey/web_view_matchers.h View 1 2 3 4 5 6 1 chunk +7 lines, -4 lines 0 comments Download
A + ios/web/public/test/earl_grey/web_view_matchers.mm View 1 2 3 4 5 4 chunks +10 lines, -12 lines 0 comments Download
A ios/web/public/test/navigation_test_util.h View 1 2 3 4 5 6 7 1 chunk +20 lines, -0 lines 0 comments Download
A ios/web/public/test/navigation_test_util.mm View 1 2 3 4 5 6 7 1 chunk +22 lines, -0 lines 0 comments Download
A ios/web/shell/test/app/web_shell_test_util.h View 1 2 3 4 5 6 1 chunk +19 lines, -0 lines 0 comments Download
A + ios/web/shell/test/app/web_shell_test_util.mm View 1 2 3 4 5 1 chunk +8 lines, -6 lines 0 comments Download
A + ios/web/shell/test/earl_grey/shell_matchers.h View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
A + ios/web/shell/test/earl_grey/shell_matchers.mm View 1 2 3 4 5 6 7 2 chunks +14 lines, -1 line 0 comments Download
D ios/web/shell/test/navigation_test_util.h View 1 chunk +0 lines, -20 lines 0 comments Download
D ios/web/shell/test/navigation_test_util.mm View 1 chunk +0 lines, -30 lines 0 comments Download
D ios/web/shell/test/shell_matchers.h View 1 chunk +0 lines, -31 lines 0 comments Download
D ios/web/shell/test/shell_matchers.mm View 1 chunk +0 lines, -39 lines 0 comments Download
M ios/web/shell/test/web_shell_navigation_egtest.mm View 1 2 3 4 5 6 2 chunks +7 lines, -5 lines 0 comments Download
D ios/web/shell/test/web_shell_test_util.h View 1 chunk +0 lines, -19 lines 0 comments Download
D ios/web/shell/test/web_shell_test_util.mm View 1 chunk +0 lines, -18 lines 0 comments Download
D ios/web/shell/test/web_view_matchers.h View 1 chunk +0 lines, -19 lines 0 comments Download
D ios/web/shell/test/web_view_matchers.mm View 1 chunk +0 lines, -82 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
baxley
I'm going to patch this into Chrome and may need to update it so it ...
4 years, 7 months ago (2016-05-05 17:01:52 UTC) #2
Eugene But (OOO till 7-30)
https://codereview.chromium.org/1950323002/diff/60001/ios/web/ios_web_shell_tests.gyp File ios/web/ios_web_shell_tests.gyp (right): https://codereview.chromium.org/1950323002/diff/60001/ios/web/ios_web_shell_tests.gyp#newcode87 ios/web/ios_web_shell_tests.gyp:87: 'target_name': 'ios_web_shell_earl_grey_test_support', On 2016/05/05 17:01:52, baxley wrote: > I ...
4 years, 7 months ago (2016-05-05 18:01:12 UTC) #3
baxley
I had questions about some of your comments. Everything else I agree with and will ...
4 years, 7 months ago (2016-05-05 18:33:18 UTC) #4
Eugene But (OOO till 7-30)
https://codereview.chromium.org/1950323002/diff/60001/ios/web/ios_web_shell_tests.gyp File ios/web/ios_web_shell_tests.gyp (right): https://codereview.chromium.org/1950323002/diff/60001/ios/web/ios_web_shell_tests.gyp#newcode87 ios/web/ios_web_shell_tests.gyp:87: 'target_name': 'ios_web_shell_earl_grey_test_support', On 2016/05/05 18:33:18, baxley wrote: > On ...
4 years, 7 months ago (2016-05-05 18:50:32 UTC) #5
baxley
Comments addressed. Thanks for the review! https://codereview.chromium.org/1950323002/diff/60001/ios/web/ios_web_shell_tests.gyp File ios/web/ios_web_shell_tests.gyp (right): https://codereview.chromium.org/1950323002/diff/60001/ios/web/ios_web_shell_tests.gyp#newcode87 ios/web/ios_web_shell_tests.gyp:87: 'target_name': 'ios_web_shell_earl_grey_test_support', On ...
4 years, 7 months ago (2016-05-05 21:13:53 UTC) #6
Eugene But (OOO till 7-30)
lgtm https://codereview.chromium.org/1950323002/diff/120001/ios/web/ios_web.gyp File ios/web/ios_web.gyp (right): https://codereview.chromium.org/1950323002/diff/120001/ios/web/ios_web.gyp#newcode443 ios/web/ios_web.gyp:443: 'public/test/http_server_util.h', Please update gn files as well. https://codereview.chromium.org/1950323002/diff/120001/ios/web/public/test/navigation_test_util.h ...
4 years, 7 months ago (2016-05-05 21:43:41 UTC) #7
baxley
Comments addressed. Thanks! https://codereview.chromium.org/1950323002/diff/120001/ios/web/ios_web.gyp File ios/web/ios_web.gyp (right): https://codereview.chromium.org/1950323002/diff/120001/ios/web/ios_web.gyp#newcode443 ios/web/ios_web.gyp:443: 'public/test/http_server_util.h', On 2016/05/05 21:43:41, Eugene But ...
4 years, 7 months ago (2016-05-05 22:03:26 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1950323002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1950323002/140001
4 years, 7 months ago (2016-05-05 22:03:50 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_rel/builds/62121)
4 years, 7 months ago (2016-05-05 22:18:03 UTC) #13
Eugene But (OOO till 7-30)
https://codereview.chromium.org/1950323002/diff/120001/ios/web/shell/test/navigation_test_util.h File ios/web/shell/test/navigation_test_util.h (left): https://codereview.chromium.org/1950323002/diff/120001/ios/web/shell/test/navigation_test_util.h#oldcode15 ios/web/shell/test/navigation_test_util.h:15: void LoadUrl(GURL url); On 2016/05/05 22:03:25, baxley wrote: > ...
4 years, 7 months ago (2016-05-05 22:22:45 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1950323002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1950323002/140001
4 years, 7 months ago (2016-05-05 22:26:07 UTC) #16
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 7 months ago (2016-05-05 23:33:36 UTC) #17
commit-bot: I haz the power
4 years, 7 months ago (2016-05-05 23:35:32 UTC) #19
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/695a50d9ba4ec6f761f02783211fc8925d29678a
Cr-Commit-Position: refs/heads/master@{#391949}

Powered by Google App Engine
This is Rietveld 408576698