Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Add engine test tool #8351

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ var package = Package(
.copy("Resources/ad-block-resources/resources.json"),
.copy("Resources/filter-rules/cdbbhgbmjhfnhnmgeddbliobbofkgdhe.txt"),
.copy("Resources/filter-rules/cffkpbalmllkdoenhmdmpbkajipdjfam.dat"),
.copy("Resources/filter-rules/list.txt"),
.copy("Resources/html/index.html"),
.copy("Resources/scripts/farbling-tests.js"),
.copy("Resources/scripts/request-blocking-tests.js"),
Expand Down Expand Up @@ -445,6 +446,8 @@ var braveTarget: PackageDescription.Target = .target(
.copy("WebFilters/ContentBlocker/Lists/block-cookies.json"),
.copy("WebFilters/ContentBlocker/Lists/block-trackers.json"),
.copy("WebFilters/ShieldStats/Adblock/Resources/ABPFilterParserData.dat"),
.copy("WebFilters/Debug/Resources/FilterLists/list.txt"),
.copy("WebFilters/Debug/Resources/resources.json"),
],
plugins: ["LoggerPlugin"]
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,12 @@ class SettingsViewController: TableViewController {
let vc = UIHostingController(rootView: SandboxInspectorView())
self.navigationController?.pushViewController(vc, animated: true)
}, accessory: .disclosureIndicator),
Row(
text: "Test Engines",
selection: { [unowned self] in
let controller = UIHostingController(rootView: TestAdblockEnginesView())
self.navigationController?.pushViewController(controller, animated: true)
}, accessory: .disclosureIndicator, cellClass: MultilineSubtitleCell.self),
Row(
text: "Adblock Debug",
selection: { [unowned self] in
Expand Down
153,175 changes: 153,175 additions & 0 deletions Sources/Brave/WebFilters/Debug/Resources/FilterLists/list.txt

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Sources/Brave/WebFilters/Debug/Resources/resources.json

Large diffs are not rendered by default.

Loading
Loading