#include "net/http/http_security_headers.h"
#include <stdint.h>
#include <iterator>
#include "base/base64.h"
#include "base/stl_util.h"
#include "crypto/sha2.h"
#include "net/base/host_port_pair.h"
#include "net/base/test_completion_callback.h"
#include "net/http/http_util.h"
#include "net/http/transport_security_state.h"
#include "net/ssl/ssl_info.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net {
namespace {
namespace test_default {
#include "base/time/time.h"
#include "net/http/transport_security_state_static_unittest_default.h"
}
}
class HttpSecurityHeadersTest : public testing::Test { … };
TEST_F(HttpSecurityHeadersTest, LeadingTrailingSemicolons) { … }
TEST_F(HttpSecurityHeadersTest, InvalidDirectiveNames) { … }
TEST_F(HttpSecurityHeadersTest, InvalidDirectiveValues) { … }
TEST_F(HttpSecurityHeadersTest, BogusHeaders) { … }
TEST_F(HttpSecurityHeadersTest, ValidSTSHeaders) { … }
}