Lines Matching refs:good0
181 const char good0[] = "behllobkkfkfnphdnhnkndlbkcpglgmj"; variable
815 EXPECT_EQ(std::string(good0), loaded_[0]->id()); in TEST_F()
825 ValidateIntegerPref(good0, "state", Extension::ENABLED); in TEST_F()
826 ValidateIntegerPref(good0, "location", Manifest::INTERNAL); in TEST_F()
2142 .AppendASCII(good0) in TEST_F()
3377 EXPECT_TRUE(enabled_extensions.Contains(good0) && in TEST_F()
3378 !blocklisted_extensions.Contains(good0)); in TEST_F()
3384 EXPECT_FALSE(IsPrefExist(good0, kPrefBlocklist)); in TEST_F()
3390 test_blocklist.SetBlocklistState(good0, BLOCKLISTED_MALWARE, true); in TEST_F()
3395 EXPECT_TRUE(!enabled_extensions.Contains(good0) && in TEST_F()
3396 blocklisted_extensions.Contains(good0)); in TEST_F()
3402 EXPECT_TRUE(ValidateBooleanPref(good0, kPrefBlocklist, true)); in TEST_F()
3409 test_blocklist.SetBlocklistState(good0, BLOCKLISTED_MALWARE, true); in TEST_F()
3414 EXPECT_TRUE(!enabled_extensions.Contains(good0) && in TEST_F()
3415 blocklisted_extensions.Contains(good0)); in TEST_F()
3421 EXPECT_TRUE(ValidateBooleanPref(good0, kPrefBlocklist, true)); in TEST_F()
3439 EXPECT_TRUE(registry()->enabled_extensions().Contains(good0)); in TEST_F()
3440 EXPECT_FALSE(registry()->blocklisted_extensions().Contains(good0)); in TEST_F()
3446 service()->PerformActionBasedOnOmahaAttributes(good0, attributes); in TEST_F()
3448 prefs->GetDisableReasons(good0)); in TEST_F()
3449 EXPECT_TRUE(IsPrefExist(good0, kPrefBlocklist)); in TEST_F()
3450 EXPECT_FALSE(registry()->enabled_extensions().Contains(good0)); in TEST_F()
3451 EXPECT_TRUE(registry()->blocklisted_extensions().Contains(good0)); in TEST_F()
3461 EXPECT_FALSE(registry()->enabled_extensions().Contains(good0)); in TEST_F()
3462 EXPECT_TRUE(registry()->blocklisted_extensions().Contains(good0)); in TEST_F()
3463 EXPECT_TRUE(ValidateBooleanPref(good0, kPrefBlocklist, true)); in TEST_F()
3502 ASSERT_TRUE(registry()->enabled_extensions().Contains(good0)); in TEST_F()
3504 good0); in TEST_F()
3507 test_blocklist.SetBlocklistState(good0, BLOCKLISTED_MALWARE, true); in TEST_F()
3513 EXPECT_FALSE(registry()->enabled_extensions().Contains(good0)); in TEST_F()
3514 EXPECT_TRUE(prefs->IsExtensionBlocklisted(good0)); in TEST_F()
3515 EXPECT_EQ(BLOCKLISTED_MALWARE, prefs->GetExtensionBlocklistState(good0)); in TEST_F()
3518 test_blocklist.SetBlocklistState(good0, NOT_BLOCKLISTED, true); in TEST_F()
3523 EXPECT_TRUE(registry()->enabled_extensions().Contains(good0)); in TEST_F()
3524 EXPECT_FALSE(prefs->IsExtensionBlocklisted(good0)); in TEST_F()
3525 EXPECT_EQ(NOT_BLOCKLISTED, prefs->GetExtensionBlocklistState(good0)); in TEST_F()
3581 ASSERT_TRUE(registry()->enabled_extensions().Contains(good0)); in TEST_F()
3596 good0, BLOCKLISTED_MALWARE); in TEST_F()
3604 EXPECT_FALSE(service()->IsExtensionEnabled(good0)); in TEST_F()
3613 EXPECT_TRUE(registry()->blocklisted_extensions().Contains(good0)); in TEST_F()
3623 EXPECT_TRUE(registry()->enabled_extensions().Contains(good0)); in TEST_F()
3642 EXPECT_TRUE(enabled_extensions.Contains(good0)); in TEST_F()
3647 test_blocklist.SetBlocklistState(good0, BLOCKLISTED_CWS_POLICY_VIOLATION, in TEST_F()
3654 EXPECT_FALSE(enabled_extensions.Contains(good0)); in TEST_F()
3655 EXPECT_TRUE(disabled_extensions.Contains(good0)); in TEST_F()
3661 ValidateIntegerPref(good0, "blacklist_state", in TEST_F()
3667 service()->EnableExtension(good0); in TEST_F()
3669 EXPECT_TRUE(enabled_extensions.Contains(good0)); in TEST_F()
3670 EXPECT_FALSE(disabled_extensions.Contains(good0)); in TEST_F()
3675 test_blocklist.SetBlocklistState(good0, NOT_BLOCKLISTED, true); in TEST_F()
3680 EXPECT_TRUE(enabled_extensions.Contains(good0)); in TEST_F()
3681 EXPECT_FALSE(disabled_extensions.Contains(good0)); in TEST_F()
3703 service()->DisableExtension(good0, disable_reason::DISABLE_USER_ACTION); in TEST_F()
3705 test_blocklist.SetBlocklistState(good0, BLOCKLISTED_CWS_POLICY_VIOLATION, in TEST_F()
3714 EXPECT_FALSE(enabled_extensions.Contains(good0)); in TEST_F()
3715 EXPECT_TRUE(disabled_extensions.Contains(good0)); in TEST_F()
3732 test_blocklist.SetBlocklistState(good0, NOT_BLOCKLISTED, true); in TEST_F()
3738 EXPECT_FALSE(enabled_extensions.Contains(good0)); in TEST_F()
3739 EXPECT_TRUE(disabled_extensions.Contains(good0)); in TEST_F()
3759 test_blocklist.SetBlocklistState(good0, BLOCKLISTED_CWS_POLICY_VIOLATION, in TEST_F()
3765 EXPECT_FALSE(enabled_extensions.Contains(good0)); in TEST_F()
3766 EXPECT_TRUE(disabled_extensions.Contains(good0)); in TEST_F()
3772 test_blocklist.SetBlocklistState(good0, NOT_BLOCKLISTED, true); in TEST_F()
3778 EXPECT_TRUE(enabled_extensions.Contains(good0)); in TEST_F()
3779 EXPECT_FALSE(disabled_extensions.Contains(good0)); in TEST_F()
3799 EXPECT_EQ(StringSet(good0), registry()->enabled_extensions().GetIDs()); in TEST_F()
3807 EXPECT_EQ(StringSet(good0), registry()->enabled_extensions().GetIDs()); in TEST_F()
3819 AssertExtensionBlocksAndUnblocks(true, good0); in TEST_F()
3828 service()->DisableExtension(good0, disable_reason::DISABLE_RELOAD); in TEST_F()
3830 AssertExtensionBlocksAndUnblocks(true, good0); in TEST_F()
3839 TerminateExtension(good0); in TEST_F()
3841 AssertExtensionBlocksAndUnblocks(true, good0); in TEST_F()
3880 test_blocklist.SetBlocklistState(good0, BLOCKLISTED_MALWARE, true); in TEST_F()
3889 AssertExtensionBlocksAndUnblocks(false, good0); in TEST_F()
3895 test_blocklist.SetBlocklistState(good0, NOT_BLOCKLISTED, true); in TEST_F()
3901 ASSERT_TRUE(IsBlocked(good0)); in TEST_F()
3916 .AppendASCII(good0) in TEST_F()
3925 AssertExtensionBlocksAndUnblocks(false, good0); in TEST_F()
3949 ASSERT_TRUE(IsBlocked(good0)); in TEST_F()
3950 ASSERT_TRUE(IsBlocked(good0)); in TEST_F()
3951 ASSERT_TRUE(IsBlocked(good0)); in TEST_F()
4023 .AppendASCII(good0) in TEST_F()
4033 EXPECT_TRUE(registry()->enabled_extensions().GetByID(good0)); in TEST_F()
4038 EXPECT_TRUE(registry()->enabled_extensions().GetByID(good0)); in TEST_F()
4043 pref.SetIndividualExtensionInstallationAllowed(good0, false); in TEST_F()
4047 EXPECT_TRUE(registry()->enabled_extensions().GetByID(good0)); in TEST_F()
4059 .AppendASCII(good0) in TEST_F()
4070 .GetByID(good0) in TEST_F()
4078 pref.AddBlockedPermission(good0, "tabs"); in TEST_F()
4085 .GetByID(good0) in TEST_F()
4121 pref.SetIndividualExtensionInstallationAllowed(good0, false); in TEST_F()
7701 .SetID(good0) in TEST_F()
7705 ASSERT_TRUE(registry()->enabled_extensions().Contains(good0)); in TEST_F()
7710 EXPECT_TRUE(registry()->GetInstalledExtension(good0)); in TEST_F()
7711 EXPECT_TRUE(prefs->ShouldInstallObsoleteComponentExtension(good0)); in TEST_F()