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

Unified Diff: ios/web/ios_web_shell_tests.gyp

Issue 1950323002: Refactor web shell integration tests utilities. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: alphabetize Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: ios/web/ios_web_shell_tests.gyp
diff --git a/ios/web/ios_web_shell_tests.gyp b/ios/web/ios_web_shell_tests.gyp
index 685b266f0850f2c5c8f2cc99756ac31f3e110f39..9a191f9ca461fdbc48809be41e687f0d8aab91b2 100644
--- a/ios/web/ios_web_shell_tests.gyp
+++ b/ios/web/ios_web_shell_tests.gyp
@@ -57,8 +57,7 @@
]
},
'dependencies': [
- 'ios_web_shell_test_support',
- '<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey',
+ 'ios_web_shell_earl_grey_test_support',
],
'sources': [
'shell/test/web_shell_navigation_egtest.mm',
@@ -85,23 +84,22 @@
{
# TODO(crbug.com/606815): Refactor out code that is common across Chrome
# and the web shell.
- 'target_name': 'ios_web_shell_test_support',
+ 'target_name': 'ios_web_shell_earl_grey_test_support',
baxley 2016/05/05 17:01:52 I didn't want to go crazy creating a new target fo
Eugene But (OOO till 7-30) 2016/05/05 18:01:11 That's fine, but I think the name should be differ
baxley 2016/05/05 18:33:18 I think it's a difference of what the name means.
Eugene But (OOO till 7-30) 2016/05/05 18:50:31 I small targets sounds like a better approach. Do
baxley 2016/05/05 21:13:53 After offline discussion, I'll leave it as is. Spl
'type': 'static_library',
'dependencies': [
'<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey',
'ios_web.gyp:ios_web_test_support',
],
+ 'export_dependent_settings': [
+ '<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey',
+ ],
'sources': [
- 'public/test/http_server_util.h',
- 'public/test/http_server_util.mm',
- 'shell/test/navigation_test_util.h',
- 'shell/test/navigation_test_util.mm',
- 'shell/test/shell_matchers.h',
- 'shell/test/shell_matchers.mm',
- 'shell/test/web_shell_test_util.h',
- 'shell/test/web_shell_test_util.mm',
- 'shell/test/web_view_matchers.h',
- 'shell/test/web_view_matchers.mm',
+ 'public/test/earl_grey/web_view_matchers.h',
+ 'public/test/earl_grey/web_view_matchers.mm',
+ 'shell/test/app/web_shell_test_util.h',
+ 'shell/test/app/web_shell_test_util.mm',
+ 'shell/test/earl_grey/shell_matchers.h',
+ 'shell/test/earl_grey/shell_matchers.mm',
],
},
],

Powered by Google App Engine
This is Rietveld 408576698