Commit b52c94c9 authored by Joshua Bell's avatar Joshua Bell Committed by Commit Bot

IndexedDB: Move unit test files into module's BUILD.gn file

I think this was unblocked by the change in:
https://chromium-review.googlesource.com/c/chromium/src/+/2406233


Change-Id: I28e327c9caa73ada790e10fe71817b204dbf1352
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2469898
Auto-Submit: Joshua Bell <jsbell@chromium.org>
Reviewed-by: default avatarenne <enne@chromium.org>
Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#817186}
parent 61bad241
......@@ -299,21 +299,6 @@ source_set("unit_tests") {
"eventsource/event_source_parser_test.cc",
"filesystem/dom_file_system_base_test.cc",
"filesystem/file_writer_test.cc",
"indexeddb/idb_factory_test.cc",
"indexeddb/idb_key_path_test.cc",
"indexeddb/idb_request_test.cc",
"indexeddb/idb_test_helper.cc",
"indexeddb/idb_transaction_test.cc",
"indexeddb/idb_value_wrapping_test.cc",
"indexeddb/indexed_db_blink_mojom_traits_test.cc",
"indexeddb/mock_web_idb_callbacks.cc",
"indexeddb/mock_web_idb_callbacks.h",
"indexeddb/mock_web_idb_database.cc",
"indexeddb/mock_web_idb_database.h",
"indexeddb/mock_web_idb_transaction.cc",
"indexeddb/mock_web_idb_transaction.h",
"indexeddb/web_idb_cursor_impl_unittest.cc",
"indexeddb/web_idb_transaction_impl_unittest.cc",
"installedapp/installed_app_controller_test.cc",
"manifest/image_resource_type_converters_test.cc",
"manifest/manifest_manager_unittest.cc",
......@@ -505,6 +490,7 @@ source_set("unit_tests") {
"//third_party/blink/renderer/modules/file_system_access:unit_tests",
"//third_party/blink/renderer/modules/gamepad:unit_tests",
"//third_party/blink/renderer/modules/hid:unit_tests",
"//third_party/blink/renderer/modules/indexeddb:unit_tests",
"//third_party/blink/renderer/modules/mediarecorder:buildflags",
"//third_party/blink/renderer/modules/mediastream:test_support",
"//third_party/blink/renderer/modules/peerconnection:test_support",
......
......@@ -87,3 +87,41 @@ blink_modules_sources("indexeddb") {
public_deps = [ "//third_party/blink/public/mojom:mojom_modules_blink" ]
}
source_set("unit_tests") {
testonly = true
sources = [
"idb_factory_test.cc",
"idb_key_path_test.cc",
"idb_request_test.cc",
"idb_test_helper.cc",
"idb_transaction_test.cc",
"idb_value_wrapping_test.cc",
"indexed_db_blink_mojom_traits_test.cc",
"mock_web_idb_callbacks.cc",
"mock_web_idb_callbacks.h",
"mock_web_idb_database.cc",
"mock_web_idb_database.h",
"mock_web_idb_transaction.cc",
"mock_web_idb_transaction.h",
"web_idb_cursor_impl_unittest.cc",
"web_idb_transaction_impl_unittest.cc",
]
configs += [
"//third_party/blink/renderer:config",
"//third_party/blink/renderer:inside_blink",
"//third_party/blink/renderer/core:blink_core_pch",
]
deps = [
"//testing/gmock",
"//testing/gtest",
"//third_party/blink/public:test_headers",
"//third_party/blink/renderer/controller:blink_bindings_test_sources",
"//third_party/blink/renderer/core:testing",
"//third_party/blink/renderer/modules:modules",
"//third_party/blink/renderer/platform:test_support",
]
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment