#include "services/network/public/cpp/timing_allow_origin_parser.h"
#include <string>
#include "base/strings/strcat.h"
#include "base/strings/string_util.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
ElementsAre;
IsEmpty;
namespace network {
TEST(TimingAllowOriginParserTest, Empty) { … }
TEST(TimingAllowOriginParserTest, InvalidOrigin) { … }
TEST(TimingAllowOriginParserTest, InvalidOriginWithEmbeddedWhitespace) { … }
TEST(TimingAllowedOriginParserTest, SingleOrigin) { … }
TEST(TimingAllowOriginParserTest, DuplicateOrigin) { … }
TEST(TimingAllowOriginParserTest, SingleOriginWithWhitespacePadding) { … }
TEST(TimingAllowedOriginParserTest, MultipleOrigins) { … }
TEST(TimingAllowOriginParserTest, MultipleOriginsWithWhitespacePadding) { … }
TEST(TimingAllowOriginParserTest, AllOrigins) { … }
TEST(TimingAllowOriginParserTest, AllOriginsWithWhitespacePadding) { … }
TEST(TimingAllowOriginParserTest, DuplicateWildcard) { … }
TEST(TimingAllowOriginParserTest, WildcardWithOtherOrigins) { … }
TEST(TimingAllowOriginParserTest,
WildcardWithOtherOriginsAndWhitespacePadding) { … }
TEST(TimingAllowOriginParserTest, WildcardWithInvalidOrigins) { … }
static bool TAOCheck(const std::string& tao, const std::string& url) { … }
TEST(TimingAllowOriginParserTest, TAOCheck) { … }
}