#include "chrome/browser/safe_browsing/download_protection/download_protection_util.h"
#include "base/hash/sha1.h"
#include "base/path_service.h"
#include "base/strings/string_number_conversions.h"
#include "chrome/browser/safe_browsing/download_protection/download_protection_unittest_util.h"
#include "components/safe_browsing/content/common/file_type_policies_test_util.h"
#include "net/cert/x509_util.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace safe_browsing {
ElementsAre;
TEST(DownloadProtectionUtilTest, GetCertificateAllowlistStrings) { … }
TEST(DownloadProtectionUtilTest, HigherWeightArchivesSelectedFirst) { … }
TEST(DownloadProtectionUtilTest, EncryptedFileSelected) { … }
TEST(DownloadProtectionUtilTest, OnlyOneEncryptedFilePrioritized) { … }
TEST(DownloadProtectionUtilTest, DeepestEntrySelected) { … }
TEST(DownloadProtectionUtilTest, OnlyOneDeepestEntryPrioritized) { … }
TEST(DownloadProtectionUtilTest, NonWildcardEntryDeterministic) { … }
}