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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/BUILD.gn
diff --git a/storage/browser/BUILD.gn b/storage/browser/BUILD.gn
index cffa1f718ada3a8c1cfa672f3413b0a89b7ba8d7..e569c8448af425292c7159278b1077a9bfe4f9d8 100644
--- a/storage/browser/BUILD.gn
+++ b/storage/browser/BUILD.gn
@@ -262,7 +262,11 @@ test("storage_unittests") {
"fileapi/timed_task_helper_unittest.cc",
"fileapi/transient_file_util_unittest.cc",
"quota/quota_database_unittest.cc",
+ "quota/quota_manager_unittest.cc",
+ "quota/quota_temporary_storage_evictor_unittest.cc",
+ "quota/storage_monitor_unittest.cc",
"quota/usage_tracker_unittest.cc",
+ "test/mock_quota_manager_unittest.cc",
]
deps = [
@@ -283,8 +287,14 @@ static_library("test_support") {
sources = [
"test/async_file_test_helper.cc",
"test/async_file_test_helper.h",
+ "test/mock_quota_manager.cc",
+ "test/mock_quota_manager.h",
+ "test/mock_quota_manager_proxy.cc",
+ "test/mock_quota_manager_proxy.h",
"test/mock_special_storage_policy.cc",
"test/mock_special_storage_policy.h",
+ "test/mock_storage_client.cc",
+ "test/mock_storage_client.h",
"test/test_file_system_backend.cc",
"test/test_file_system_backend.h",
"test/test_file_system_context.cc",
« 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