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

Side by Side Diff: ios/chrome/browser/translate/BUILD.gn

Issue 2829633002: [ios] Create a new EG test suite for test depending on network. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | ios/chrome/browser/translate/translate_egtest.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 source_set("translate") { 5 source_set("translate") {
6 sources = [ 6 sources = [
7 "after_translate_infobar_controller.h", 7 "after_translate_infobar_controller.h",
8 "after_translate_infobar_controller.mm", 8 "after_translate_infobar_controller.mm",
9 "before_translate_infobar_controller.h", 9 "before_translate_infobar_controller.h",
10 "before_translate_infobar_controller.mm", 10 "before_translate_infobar_controller.mm",
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 "//ios/chrome/browser/web:test_support", 66 "//ios/chrome/browser/web:test_support",
67 "//ios/chrome/common", 67 "//ios/chrome/common",
68 "//ios/public/provider/chrome/browser:test_support", 68 "//ios/public/provider/chrome/browser:test_support",
69 "//ios/web", 69 "//ios/web",
70 "//ios/web:test_support", 70 "//ios/web:test_support",
71 "//testing/gtest", 71 "//testing/gtest",
72 "//url", 72 "//url",
73 ] 73 ]
74 } 74 }
75 75
76 source_set("eg_tests") { 76 # Those tests do not use external URLs but fail if the network is unavailable
77 # as they explicitly check whether the network is up or not; it is not possible
78 # to safely instantiate a net::NetworkChangeNotifier::DisableForTest to disable
79 # those checks as this in not thread-safe. See http://crbug.com/709131 for more
80 # details.
81 source_set("external_url_eg_tests") {
77 testonly = true 82 testonly = true
78 sources = [ 83 sources = [
79 "translate_egtest.mm", 84 "translate_egtest.mm",
80 ] 85 ]
81 deps = [ 86 deps = [
82 ":translate", 87 ":translate",
83 "//base", 88 "//base",
84 "//components/strings", 89 "//components/strings",
85 "//components/translate/core/browser", 90 "//components/translate/core/browser",
86 "//components/translate/core/common", 91 "//components/translate/core/common",
87 "//components/translate/ios/browser", 92 "//components/translate/ios/browser",
88 "//ios/chrome/browser/browser_state", 93 "//ios/chrome/browser/browser_state",
89 "//ios/chrome/test/app:test_support", 94 "//ios/chrome/test/app:test_support",
90 "//ios/chrome/test/earl_grey:test_support", 95 "//ios/chrome/test/earl_grey:test_support",
91 "//ios/testing:ios_test_support", 96 "//ios/testing:ios_test_support",
92 "//ios/third_party/earl_grey", 97 "//ios/third_party/earl_grey",
93 "//ios/web:test_support", 98 "//ios/web:test_support",
94 "//net", 99 "//net",
95 "//ui/base", 100 "//ui/base",
96 ] 101 ]
97 libs = [ "XCTest.framework" ] 102 libs = [ "XCTest.framework" ]
98 } 103 }
OLDNEW
« no previous file with comments | « no previous file | ios/chrome/browser/translate/translate_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698