#include "quiche/http2/decoder/decode_buffer.h"
#include <functional>
#include "quiche/http2/test_tools/http2_random.h"
#include "quiche/common/platform/api/quiche_logging.h"
#include "quiche/common/platform/api/quiche_test.h"
namespace http2 {
namespace test {
namespace {
enum class TestEnumClass32 { … };
enum class TestEnumClass8 { … };
enum TestEnum8 { … };
struct TestStruct { … };
class DecodeBufferTest : public quiche::test::QuicheTest { … };
TEST_F(DecodeBufferTest, DecodesFixedInts) { … }
TEST_F(DecodeBufferTest, HasNotCopiedInput) { … }
TEST_F(DecodeBufferTest, DecodeBufferSubsetLimited) { … }
TEST_F(DecodeBufferTest, DecodeBufferSubsetAdvancesCursor) { … }
#if GTEST_HAS_DEATH_TEST && !defined(NDEBUG)
TEST(DecodeBufferDeathTest, NonNullBufferRequired) { … }
TEST(DecodeBufferDeathTest, ModestBufferSizeRequired) { … }
TEST(DecodeBufferDeathTest, LimitedAdvance) { … }
TEST(DecodeBufferDeathTest, DecodeUInt8PastEnd) { … }
TEST(DecodeBufferDeathTest, DecodeUInt16OverEnd) { … }
TEST(DecodeBufferSubsetDeathTest, TwoSubsets) { … }
TEST(DecodeBufferSubsetDeathTest, BaseCursorAdvanced) { … }
#endif
}
}
}