OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 import("//ios/build/config.gni") |
| 6 import("//ios/public/provider/chrome/browser/build_config.gni") |
| 7 import("//testing/test.gni") |
| 8 |
| 9 group("all_tests") { |
| 10 testonly = true |
| 11 deps = [ |
| 12 ":ios_chrome_unittests", |
| 13 ] |
| 14 } |
| 15 |
5 source_set("test_support") { | 16 source_set("test_support") { |
6 testonly = true | 17 testonly = true |
7 sources = [ | 18 sources = [ |
8 "block_cleanup_test.h", | 19 "block_cleanup_test.h", |
9 "block_cleanup_test.mm", | 20 "block_cleanup_test.mm", |
10 "ios_chrome_scoped_testing_chrome_browser_provider.h", | 21 "ios_chrome_scoped_testing_chrome_browser_provider.h", |
11 "ios_chrome_scoped_testing_chrome_browser_provider.mm", | 22 "ios_chrome_scoped_testing_chrome_browser_provider.mm", |
12 "ios_chrome_scoped_testing_local_state.cc", | 23 "ios_chrome_scoped_testing_local_state.cc", |
13 "ios_chrome_scoped_testing_local_state.h", | 24 "ios_chrome_scoped_testing_local_state.h", |
14 "ios_chrome_unit_test_suite.h", | 25 "ios_chrome_unit_test_suite.h", |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 testonly = true | 66 testonly = true |
56 sources = [ | 67 sources = [ |
57 "google_toolbox_unittest.mm", | 68 "google_toolbox_unittest.mm", |
58 ] | 69 ] |
59 deps = [ | 70 deps = [ |
60 "//base", | 71 "//base", |
61 "//testing/gtest", | 72 "//testing/gtest", |
62 "//third_party/google_toolbox_for_mac", | 73 "//third_party/google_toolbox_for_mac", |
63 ] | 74 ] |
64 } | 75 } |
| 76 |
| 77 test("ios_chrome_unittests") { |
| 78 deps = [ |
| 79 # Ensure that all unit tests are run and packed resources available. |
| 80 ":run_all_unittests", |
| 81 ios_packed_resources_target, |
| 82 |
| 83 # Add unit_tests target here. |
| 84 ":unit_tests", |
| 85 "//ios/chrome/app:unit_tests", |
| 86 "//ios/chrome/app/application_delegate:unit_tests", |
| 87 "//ios/chrome/browser:unit_tests", |
| 88 "//ios/chrome/browser/browsing_data:unit_tests", |
| 89 "//ios/chrome/browser/device_sharing:unit_tests", |
| 90 "//ios/chrome/browser/favicon:unit_tests", |
| 91 "//ios/chrome/browser/geolocation:unit_tests", |
| 92 "//ios/chrome/browser/itunes_links:unit_tests", |
| 93 "//ios/chrome/browser/metrics:unit_tests", |
| 94 "//ios/chrome/browser/native_app_launcher:unit_tests", |
| 95 "//ios/chrome/browser/net:unit_tests", |
| 96 "//ios/chrome/browser/passwords:unit_tests", |
| 97 "//ios/chrome/browser/reading_list:unit_tests", |
| 98 "//ios/chrome/browser/signin:unit_tests", |
| 99 "//ios/chrome/browser/snapshots:unit_tests", |
| 100 "//ios/chrome/browser/ssl:unit_tests", |
| 101 "//ios/chrome/browser/suggestions:unit_tests", |
| 102 "//ios/chrome/browser/sync:unit_tests", |
| 103 "//ios/chrome/browser/translate:unit_tests", |
| 104 "//ios/chrome/browser/u2f:unit_tests", |
| 105 "//ios/chrome/browser/ui:unit_tests", |
| 106 "//ios/chrome/browser/ui/alert_coordinator:unit_tests", |
| 107 "//ios/chrome/browser/ui/commands:unit_tests", |
| 108 "//ios/chrome/browser/ui/context_menu:unit_tests", |
| 109 "//ios/chrome/browser/ui/dialogs:unit_tests", |
| 110 "//ios/chrome/browser/ui/elements:unit_tests", |
| 111 "//ios/chrome/browser/ui/keyboard:unit_tests", |
| 112 "//ios/chrome/browser/ui/voice:unit_tests", |
| 113 "//ios/chrome/browser/update_client:unit_tests", |
| 114 "//ios/chrome/browser/voice:unit_tests", |
| 115 "//ios/chrome/browser/web:unit_tests", |
| 116 "//ios/chrome/browser/web_resource:unit_tests", |
| 117 "//ios/chrome/common:unit_tests", |
| 118 "//ios/chrome/test/base:unit_tests", |
| 119 "//ios/web/public/image_fetcher:unit_tests", |
| 120 ] |
| 121 |
| 122 assert_no_deps = ios_assert_no_deps |
| 123 } |
OLD | NEW |