Skip to content

Commit

Permalink
[ads] Ads tab helper browser tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tmancey committed Oct 14, 2024
1 parent dbfb875 commit 8a4bfd1
Show file tree
Hide file tree
Showing 9 changed files with 994 additions and 196 deletions.
33 changes: 16 additions & 17 deletions browser/brave_ads/tabs/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,21 @@ source_set("tabs") {
source_set("browser_tests") {
testonly = true

sources = [ "ads_tab_helper_browsertest.cc" ]

deps = [
":tabs",
"//brave/components/brave_ads/browser:test_support",
"//brave/components/brave_ads/core/public:headers",
"//brave/components/brave_rewards/common",
"//chrome/browser/ui",
"//net:test_support",
]

if (is_android) {
deps += [ "//chrome/test:test_support_ui_android" ]
} else {
deps += [ "//chrome/test:test_support_ui" ]
if (!is_android) {
sources = [ "ads_tab_helper_browsertest.cc" ]

deps = [
":tabs",
"//brave/browser/brave_ads",
"//brave/components/brave_ads/browser:test_support",
"//brave/components/brave_ads/core/public:headers",
"//brave/components/brave_rewards/common",
"//chrome/browser/ui",
"//chrome/test:test_support",
"//chrome/test:test_support_ui",
"//net:test_support",
]

defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
}

defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
}
Loading

0 comments on commit 8a4bfd1

Please sign in to comment.