Commit 77d7e2eb authored by Eugene But's avatar Eugene But Committed by Commit Bot

Create test module for ios chrome ui EG2 tests.

This module does not have actual tests yet.

Notable changes:
 - add ios_chrome_ui_eg2tests_module module
 - add ios_chrome_ui_eg2tests_module to ios/chrome/test/earl_grey2:all_tests
   target

This CL follows the same pattern as https://crrev.com/c/1628171

Bug: 866147
Change-Id: Iaac2b480054e221e8b3b9b8a8b07292608e27742
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1636483Reviewed-by: default avatarMohammad Refaat <mrefaat@chromium.org>
Commit-Queue: Eugene But <eugenebut@chromium.org>
Cr-Commit-Position: refs/heads/master@{#664864}
parent 13f673b6
......@@ -136,3 +136,23 @@ source_set("eg_tests") {
]
libs = [ "XCTest.framework" ]
}
source_set("eg2_tests") {
defines = [ "CHROME_EARL_GREY_2" ]
configs += [
"//build/config/compiler:enable_arc",
"//build/config/ios:xctest_config",
]
testonly = true
sources = []
deps = [
"//ios/chrome/test/earl_grey:eg_test_support+eg2",
"//ios/web/public/test:element_selector",
"//net:test_support",
"//ui/base",
]
libs = [ "UIKit.framework" ]
}
......@@ -11,6 +11,7 @@ group("all_tests") {
deps = [
":ios_chrome_eg2tests",
":ios_chrome_smoke_eg2tests_module",
":ios_chrome_ui_eg2tests_module",
":ios_chrome_web_eg2tests_module",
]
}
......@@ -34,6 +35,14 @@ chrome_ios_eg2_test("ios_chrome_web_eg2tests_module") {
]
}
chrome_ios_eg2_test("ios_chrome_ui_eg2tests_module") {
xcode_test_application_name = "ios_chrome_eg2tests"
deps = [
"//ios/chrome/browser/ui/download:eg2_tests",
]
}
source_set("shared_helper_headers") {
testonly = true
sources = [
......
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