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

Side by Side Diff: storage/browser/BUILD.gn

Issue 2814123005: Move storage quota unit tests and test doubles next to the files they cover. (Closed)
Patch Set: Move test from test_support to tests target :) 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 | « content/test/BUILD.gn ('k') | storage/browser/quota/quota_manager_unittest.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//testing/test.gni") 4 import("//testing/test.gni")
5 5
6 component("browser") { 6 component("browser") {
7 output_name = "storage_browser" 7 output_name = "storage_browser"
8 sources = [ 8 sources = [
9 "blob/blob_data_builder.cc", 9 "blob/blob_data_builder.cc",
10 "blob/blob_data_builder.h", 10 "blob/blob_data_builder.h",
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 "fileapi/plugin_private_file_system_backend_unittest.cc", 255 "fileapi/plugin_private_file_system_backend_unittest.cc",
256 "fileapi/quota/quota_backend_impl_unittest.cc", 256 "fileapi/quota/quota_backend_impl_unittest.cc",
257 "fileapi/quota/quota_reservation_manager_unittest.cc", 257 "fileapi/quota/quota_reservation_manager_unittest.cc",
258 "fileapi/sandbox_file_system_backend_delegate_unittest.cc", 258 "fileapi/sandbox_file_system_backend_delegate_unittest.cc",
259 "fileapi/sandbox_file_system_backend_unittest.cc", 259 "fileapi/sandbox_file_system_backend_unittest.cc",
260 "fileapi/sandbox_isolated_origin_database_unittest.cc", 260 "fileapi/sandbox_isolated_origin_database_unittest.cc",
261 "fileapi/sandbox_prioritized_origin_database_unittest.cc", 261 "fileapi/sandbox_prioritized_origin_database_unittest.cc",
262 "fileapi/timed_task_helper_unittest.cc", 262 "fileapi/timed_task_helper_unittest.cc",
263 "fileapi/transient_file_util_unittest.cc", 263 "fileapi/transient_file_util_unittest.cc",
264 "quota/quota_database_unittest.cc", 264 "quota/quota_database_unittest.cc",
265 "quota/quota_manager_unittest.cc",
266 "quota/quota_temporary_storage_evictor_unittest.cc",
267 "quota/storage_monitor_unittest.cc",
265 "quota/usage_tracker_unittest.cc", 268 "quota/usage_tracker_unittest.cc",
269 "test/mock_quota_manager_unittest.cc",
266 ] 270 ]
267 271
268 deps = [ 272 deps = [
269 ":browser", 273 ":browser",
270 ":test_support", 274 ":test_support",
271 "//base/test:run_all_unittests", 275 "//base/test:run_all_unittests",
272 "//base/test:test_support", 276 "//base/test:test_support",
273 "//net:test_support", 277 "//net:test_support",
274 "//sql:test_support", 278 "//sql:test_support",
275 "//testing/gtest", 279 "//testing/gtest",
276 "//third_party/leveldatabase", 280 "//third_party/leveldatabase",
277 ] 281 ]
278 } 282 }
279 283
280 static_library("test_support") { 284 static_library("test_support") {
281 testonly = true 285 testonly = true
282 286
283 sources = [ 287 sources = [
284 "test/async_file_test_helper.cc", 288 "test/async_file_test_helper.cc",
285 "test/async_file_test_helper.h", 289 "test/async_file_test_helper.h",
290 "test/mock_quota_manager.cc",
291 "test/mock_quota_manager.h",
292 "test/mock_quota_manager_proxy.cc",
293 "test/mock_quota_manager_proxy.h",
286 "test/mock_special_storage_policy.cc", 294 "test/mock_special_storage_policy.cc",
287 "test/mock_special_storage_policy.h", 295 "test/mock_special_storage_policy.h",
296 "test/mock_storage_client.cc",
297 "test/mock_storage_client.h",
288 "test/test_file_system_backend.cc", 298 "test/test_file_system_backend.cc",
289 "test/test_file_system_backend.h", 299 "test/test_file_system_backend.h",
290 "test/test_file_system_context.cc", 300 "test/test_file_system_context.cc",
291 "test/test_file_system_context.h", 301 "test/test_file_system_context.h",
292 "test/test_file_system_options.cc", 302 "test/test_file_system_options.cc",
293 "test/test_file_system_options.h", 303 "test/test_file_system_options.h",
294 ] 304 ]
295 305
296 deps = [ 306 deps = [
297 ":browser", 307 ":browser",
298 "//base/test:test_support", 308 "//base/test:test_support",
299 "//net:test_support", 309 "//net:test_support",
300 "//testing/gtest", 310 "//testing/gtest",
301 ] 311 ]
302 } 312 }
OLDNEW
« no previous file with comments | « content/test/BUILD.gn ('k') | storage/browser/quota/quota_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698