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

Unified Diff: ios/web_view/test/BUILD.gn

Issue 2892193002: Add unittest to test CWVWebView. (Closed)
Patch Set: Respond to comments. Created 3 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
« no previous file with comments | « ios/BUILD.gn ('k') | ios/web_view/test/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/test/BUILD.gn
diff --git a/ios/web_view/test/BUILD.gn b/ios/web_view/test/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..b4dbe8275096002be1e2e47dc671f97293e119b4
--- /dev/null
+++ b/ios/web_view/test/BUILD.gn
@@ -0,0 +1,43 @@
+# Copyright 2017 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//ios/build/config.gni")
+import("//build/config/ios/rules.gni")
+import("//testing/test.gni")
+
+group("all_tests") {
+ testonly = true
+ deps = [
+ ":ios_web_view_inttests",
+ ]
+}
+
+test("ios_web_view_inttests") {
+ testonly = true
+ sources = [
+ "boolean_observer.h",
+ "boolean_observer.mm",
+ "chrome_web_view_kvo_inttest.mm",
+ "chrome_web_view_test.h",
+ "chrome_web_view_test.mm",
+ "web_view_interaction_test_util.h",
+ "web_view_interaction_test_util.mm",
+ ]
+
+ deps = [
+ "//base",
+ "//base/test:run_all_unittests",
+ "//ios/testing:ios_test_support",
+ "//ios/web_view:web_view+link",
+ "//net",
+ "//net:test_support",
+ "//testing/gtest",
+ ]
+
+ bundle_deps = [ "//ios/web_view:web_view+bundle" ]
+
+ configs += [ "//build/config/compiler:enable_arc" ]
+
+ assert_no_deps = ios_assert_no_deps
+}
« no previous file with comments | « ios/BUILD.gn ('k') | ios/web_view/test/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698