#include "services/network/public/cpp/fence_event_reporting_parser.h"
#include "net/http/http_response_headers.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace network {
TEST(FenceEventReportingParserTest,
ParseAllowCrossOriginEventReportingFromHeader_NoObserveTopicsHeader) { … }
TEST(
FenceEventReportingParserTest,
ParseAllowCrossOriginEventReportingFromHeader_TrueValueObserveTopicsHeader) { … }
TEST(
FenceEventReportingParserTest,
ParseAllowCrossOriginEventReportingFromHeader_FalseValueObserveTopicsHeader) { … }
TEST(
FenceEventReportingParserTest,
ParseAllowCrossOriginEventReportingFromHeader_NotBooleanObserveTopicsHeader) { … }
TEST(FenceEventReportingParserTest,
ParseAllowCrossOriginEventReportingFromHeader_InvalidObserveTopicsHeader) { … }
TEST(FenceEventReportingParserTest,
ParseAllowCrossOriginEventReportingFromHeader_InvalidNormalizedHeader) { … }
}