#include "quiche/http2/http2_structures.h"
#include <memory>
#include <ostream>
#include <sstream>
#include <string>
#include <tuple>
#include <type_traits>
#include <vector>
#include "absl/strings/str_cat.h"
#include "quiche/http2/test_tools/http2_random.h"
#include "quiche/http2/test_tools/http2_structures_test_util.h"
#include "quiche/http2/test_tools/verify_macros.h"
#include "quiche/common/platform/api/quiche_test.h"
AssertionResult;
AssertionSuccess;
Combine;
HasSubstr;
MatchesRegex;
Not;
Values;
ValuesIn;
namespace http2 {
namespace test {
namespace {
template <typename E>
E IncrementEnum(E e) { … }
template <class T>
AssertionResult VerifyRandomCalls() { … }
#if GTEST_HAS_DEATH_TEST && !defined(NDEBUG)
std::vector<Http2FrameType> ValidFrameTypes() { … }
#endif
TEST(Http2FrameHeaderTest, Constructor) { … }
TEST(Http2FrameHeaderTest, Eq) { … }
#if GTEST_HAS_DEATH_TEST && !defined(NDEBUG)
TestParams;
std::string TestParamToString(const testing::TestParamInfo<TestParams>& info) { … }
class Http2FrameHeaderTypeAndFlagTest
: public quiche::test::QuicheTestWithParam<TestParams> { … };
class IsEndStreamTest : public Http2FrameHeaderTypeAndFlagTest { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(IsEndStreamTest, IsEndStream) { … }
class IsACKTest : public Http2FrameHeaderTypeAndFlagTest { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(IsACKTest, IsAck) { … }
class IsEndHeadersTest : public Http2FrameHeaderTypeAndFlagTest { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(IsEndHeadersTest, IsEndHeaders) { … }
class IsPaddedTest : public Http2FrameHeaderTypeAndFlagTest { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(IsPaddedTest, IsPadded) { … }
class HasPriorityTest : public Http2FrameHeaderTypeAndFlagTest { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(HasPriorityTest, HasPriority) { … }
TEST(Http2PriorityFieldsTest, Constructor) { … }
#endif
TEST(Http2RstStreamFieldsTest, IsSupported) { … }
TEST(Http2SettingFieldsTest, Misc) { … }
TEST(Http2PushPromiseTest, Misc) { … }
TEST(Http2PingFieldsTest, Misc) { … }
TEST(Http2GoAwayFieldsTest, Misc) { … }
TEST(Http2WindowUpdateTest, Misc) { … }
TEST(Http2AltSvcTest, Misc) { … }
TEST(Http2PriorityUpdateFieldsTest, Eq) { … }
TEST(Http2PriorityUpdateFieldsTest, Misc) { … }
}
}
}