Commit dedb261c authored by Robbie McElrath's avatar Robbie McElrath Committed by Commit Bot

Rename //chrome/test/data/[whitelists -> allowlists]/*

Bug: 1097244
Change-Id: If4b88e957f0a91d76694f68dce2a91515cff6ebe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2551620Reviewed-by: default avatarAga Wronska <agawronska@chromium.org>
Commit-Queue: Robbie McElrath <rmcelrath@chromium.org>
Cr-Commit-Position: refs/heads/master@{#830694}
parent f77e2e66
......@@ -197,7 +197,7 @@ TEST_F(SupervisedUserAllowlistServiceTest, MergeExisting) {
base::FilePath test_data_dir;
ASSERT_TRUE(base::PathService::Get(chrome::DIR_TEST_DATA, &test_data_dir));
base::FilePath allowlist_path =
test_data_dir.AppendASCII("whitelists/content_pack/site_list.json");
test_data_dir.AppendASCII("allowlists/content_pack/site_list.json");
installer_->NotifyAllowlistReady("aaaa", base::ASCIIToUTF16("Title"),
base::FilePath(), allowlist_path);
run_loop.Run();
......
......@@ -572,7 +572,7 @@ TEST_F(SupervisedUserServiceExtensionTest, InstallContentPacks) {
SupervisedUserAllowlistService* allowlist_service =
supervised_user_service->GetAllowlistService();
base::FilePath allowlist_path =
test_data_dir.AppendASCII("whitelists/content_pack/site_list.json");
test_data_dir.AppendASCII("allowlists/content_pack/site_list.json");
allowlist_service->LoadAllowlistForTesting(id1, title1, allowlist_path);
site_list_observer_.Wait();
......@@ -589,7 +589,7 @@ TEST_F(SupervisedUserServiceExtensionTest, InstallContentPacks) {
// Load a second allowlist.
allowlist_path =
test_data_dir.AppendASCII("whitelists/content_pack_2/site_list.json");
test_data_dir.AppendASCII("allowlists/content_pack_2/site_list.json");
allowlist_service->LoadAllowlistForTesting(id2, title2, allowlist_path);
site_list_observer_.Wait();
......
......@@ -4107,7 +4107,7 @@ test("unit_tests") {
"data/offline_pages/",
"data/osdd/",
"data/public_offline_pages/",
"data/whitelists/content_pack/site_list.json",
"data/allowlists/content_pack/site_list.json",
# webapk_installer_unittest
"data/banners/image-512px-corp.png",
......
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