#include "third_party/blink/renderer/core/frame/document_policy_violation_report_body.h"
#include <set>
#include <vector>
#include "testing/gtest/include/gtest/gtest.h"
namespace blink {
namespace {
TEST(DocumentPolicyViolationReportBodyMatchIdTest,
SameInputGeneratesSameMatchId) { … }
bool AllDistinct(const std::vector<unsigned>& match_ids) { … }
const struct { … } kDocumentPolicyViolationReportBodyInputs[] = …;
TEST(DocumentPolicyViolationReportBodyMatchIdTest,
DifferentInputsGenerateDifferentMatchId) { … }
TEST(DocumentPolicyViolationReportBodyMatchIdTest,
MatchIdGeneratedShouldNotBeZero) { … }
TEST(DocumentPolicyViolationReportBodyMatchIdTest,
EmptyMessageGenerateSameResult) { … }
}
}