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

Unified Diff: storage/browser/BUILD.gn

Issue 2815743002: Move a couple of blob tests next to the files they cover. (Closed)
Patch Set: Fix gn check, take 2. 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: storage/browser/BUILD.gn
diff --git a/storage/browser/BUILD.gn b/storage/browser/BUILD.gn
index e1880c7d29b13813814cea57f5de815f5001162e..4fdb007f1debdfe31ef5f825641ae0bf9f97669c 100644
--- a/storage/browser/BUILD.gn
+++ b/storage/browser/BUILD.gn
@@ -229,10 +229,12 @@ test("storage_unittests") {
"blob/blob_data_builder_unittest.cc",
"blob/blob_flattener_unittest.cc",
"blob/blob_memory_controller_unittest.cc",
+ "blob/blob_reader_unittest.cc",
"blob/blob_slice_unittest.cc",
"blob/blob_storage_context_unittest.cc",
"blob/blob_storage_registry_unittest.cc",
"blob/blob_transport_request_builder_unittest.cc",
+ "blob/blob_url_request_job_unittest.cc",
"database/database_quota_client_unittest.cc",
"database/database_util_unittest.cc",
"database/databases_table_unittest.cc",
@@ -252,6 +254,7 @@ test("storage_unittests") {
deps = [
":browser",
+ ":test_support",
"//base/test:run_all_unittests",
"//base/test:test_support",
"//net:test_support",
@@ -260,3 +263,27 @@ test("storage_unittests") {
"//third_party/leveldatabase",
]
}
+
+static_library("test_support") {
+ testonly = true
+
+ sources = [
+ "test/async_file_test_helper.cc",
+ "test/async_file_test_helper.h",
+ "test/mock_special_storage_policy.cc",
+ "test/mock_special_storage_policy.h",
+ "test/test_file_system_backend.cc",
+ "test/test_file_system_backend.h",
+ "test/test_file_system_context.cc",
+ "test/test_file_system_context.h",
+ "test/test_file_system_options.cc",
+ "test/test_file_system_options.h",
+ ]
+
+ deps = [
+ ":browser",
+ "//base/test:test_support",
+ "//net:test_support",
+ "//testing/gtest",
+ ]
+}
« no previous file with comments | « extensions/browser/api/file_handlers/mime_util_unittest.cc ('k') | storage/browser/blob/blob_reader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698