Move assist_ranker unit tests to brave_components_unittests (#34128)

This commit is contained in:
Brian R. Bondy
2026-02-24 20:18:28 -05:00
committed by GitHub
parent 034e05e626
commit 6c4d84a58b
3 changed files with 21 additions and 3 deletions
+1
View File
@@ -24,6 +24,7 @@ test("brave_components_unittests") {
"//base",
"//brave/components/ai_chat/core/common/buildflags",
"//brave/components/api_request_helper:unit_tests",
"//brave/components/assist_ranker:unit_tests",
"//brave/components/brave_account:unit_tests",
"//brave/components/brave_account/endpoint_client:unit_tests",
"//brave/components/brave_account/endpoints:unit_tests",
+20
View File
@@ -0,0 +1,20 @@
# Copyright (c) 2026 The Brave Authors. All rights reserved.
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at https://mozilla.org/MPL/2.0/.
source_set("unit_tests") {
testonly = true
sources = [ "ranker_model_loader_impl_unittest.cc" ]
deps = [
"//base",
"//base/test:test_support",
"//components/assist_ranker",
"//components/assist_ranker/proto",
"//services/network:test_support",
"//services/network/public/cpp",
"//testing/gtest",
]
}
-3
View File
@@ -120,7 +120,6 @@ test("brave_unit_tests") {
"//brave/chromium_src/net/cookies/brave_canonical_cookie_unittest.cc",
"//brave/common/brave_content_client_unittest.cc",
"//brave/common/profiler/thread_profile_configuration_unittest.cc",
"//brave/components/assist_ranker/ranker_model_loader_impl_unittest.cc",
"//brave/components/brave_perf_predictor/browser/bandwidth_linreg_unittest.cc",
"//brave/components/brave_perf_predictor/browser/bandwidth_savings_predictor_unittest.cc",
"//brave/components/brave_perf_predictor/browser/named_third_party_registry_unittest.cc",
@@ -283,8 +282,6 @@ test("brave_unit_tests") {
"//chrome/browser/sync",
"//chrome/browser/ui",
"//chrome/test:test_support",
"//components/assist_ranker",
"//components/assist_ranker/proto",
"//components/bookmarks/browser",
"//components/bookmarks/common",
"//components/content_settings/core/test:test_support",