#include "chrome/browser/download/download_item_warning_data.h"
#include <vector>
#include "base/test/task_environment.h"
#include "components/download/public/common/mock_download_item.h"
#include "testing/gtest/include/gtest/gtest.h"
WarningSurface;
WarningAction;
WarningActionEvent;
DeepScanTrigger;
class DownloadItemWarningDataTest : public testing::Test { … };
TEST_F(DownloadItemWarningDataTest, GetEvents) { … }
TEST_F(DownloadItemWarningDataTest, GetEvents_Notification) { … }
TEST_F(DownloadItemWarningDataTest, GetEvents_WarningShownNotLogged) { … }
TEST_F(DownloadItemWarningDataTest, GetEvents_MultipleWarningShownLogged) { … }
TEST_F(DownloadItemWarningDataTest, GetEvents_ExceedEventMaxLength) { … }
TEST_F(DownloadItemWarningDataTest, IsEncryptedArchive) { … }
TEST_F(DownloadItemWarningDataTest, HasIncorrectPassword) { … }
TEST_F(DownloadItemWarningDataTest, HasShownLocalDecryptionPrompt) { … }
TEST_F(DownloadItemWarningDataTest, DeepScanTrigger) { … }
TEST_F(DownloadItemWarningDataTest, FirstShownTimeAndSurface) { … }
TEST_F(DownloadItemWarningDataTest, EventToString) { … }