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

Unified Diff: ios/clean/chrome/browser/ui/tools/BUILD.gn

Issue 2812463002: [ios clean] Creates ToolsMenu UnitTests (Closed)
Patch Set: CL Feedback 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 side-by-side diff with in-line comments
Download patch
Index: ios/clean/chrome/browser/ui/tools/BUILD.gn
diff --git a/ios/clean/chrome/browser/ui/tools/BUILD.gn b/ios/clean/chrome/browser/ui/tools/BUILD.gn
index 5968c319542e9491c08c7d21882e4a73ca75cfbe..ef463345cff52570f0ed3cd0d5abf5d9ebcbd94d 100644
--- a/ios/clean/chrome/browser/ui/tools/BUILD.gn
+++ b/ios/clean/chrome/browser/ui/tools/BUILD.gn
@@ -45,3 +45,24 @@ source_set("tools_ui") {
"//ios/third_party/material_components_ios",
]
}
+
+source_set("unit_tests") {
+ testonly = true
+
+ sources = [
+ "tools_coordinator_unittest.mm",
+ "tools_mediator_unittest.mm",
+ ]
+
+ configs += [ "//build/config/compiler:enable_arc" ]
+
+ deps = [
+ ":tools",
+ ":tools_ui",
+ "//base",
edchin 2017/04/10 21:16:11 I don't think you need this.
sczs 2017/04/12 20:10:11 Good catch! Done!
+ "//base/test:test_support",
+ "//ios/chrome/test/base",
+ "//testing/gtest",
+ "//third_party/ocmock",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698