#include <sstream>
#include <vector>
#include "quiche/quic/core/frames/quic_ack_frame.h"
#include "quiche/quic/core/frames/quic_blocked_frame.h"
#include "quiche/quic/core/frames/quic_connection_close_frame.h"
#include "quiche/quic/core/frames/quic_frame.h"
#include "quiche/quic/core/frames/quic_goaway_frame.h"
#include "quiche/quic/core/frames/quic_mtu_discovery_frame.h"
#include "quiche/quic/core/frames/quic_new_connection_id_frame.h"
#include "quiche/quic/core/frames/quic_padding_frame.h"
#include "quiche/quic/core/frames/quic_ping_frame.h"
#include "quiche/quic/core/frames/quic_rst_stream_frame.h"
#include "quiche/quic/core/frames/quic_stop_waiting_frame.h"
#include "quiche/quic/core/frames/quic_stream_frame.h"
#include "quiche/quic/core/frames/quic_window_update_frame.h"
#include "quiche/quic/core/quic_interval.h"
#include "quiche/quic/core/quic_types.h"
#include "quiche/quic/platform/api/quic_expect_bug.h"
#include "quiche/quic/platform/api/quic_test.h"
#include "quiche/quic/test_tools/quic_test_utils.h"
namespace quic {
namespace test {
namespace {
class QuicFramesTest : public QuicTest { … };
TEST_F(QuicFramesTest, AckFrameToString) { … }
TEST_F(QuicFramesTest, BigAckFrameToString) { … }
TEST_F(QuicFramesTest, PaddingFrameToString) { … }
TEST_F(QuicFramesTest, RstStreamFrameToString) { … }
TEST_F(QuicFramesTest, StopSendingFrameToString) { … }
TEST_F(QuicFramesTest, NewConnectionIdFrameToString) { … }
TEST_F(QuicFramesTest, RetireConnectionIdFrameToString) { … }
TEST_F(QuicFramesTest, StreamsBlockedFrameToString) { … }
TEST_F(QuicFramesTest, MaxStreamsFrameToString) { … }
TEST_F(QuicFramesTest, ConnectionCloseFrameToString) { … }
TEST_F(QuicFramesTest, TransportConnectionCloseFrameToString) { … }
TEST_F(QuicFramesTest, GoAwayFrameToString) { … }
TEST_F(QuicFramesTest, WindowUpdateFrameToString) { … }
TEST_F(QuicFramesTest, BlockedFrameToString) { … }
TEST_F(QuicFramesTest, PingFrameToString) { … }
TEST_F(QuicFramesTest, HandshakeDoneFrameToString) { … }
TEST_F(QuicFramesTest, QuicAckFreuqncyFrameToString) { … }
TEST_F(QuicFramesTest, StreamFrameToString) { … }
TEST_F(QuicFramesTest, StopWaitingFrameToString) { … }
TEST_F(QuicFramesTest, IsAwaitingPacket) { … }
TEST_F(QuicFramesTest, AddPacket) { … }
TEST_F(QuicFramesTest, AddInterval) { … }
TEST_F(QuicFramesTest, AddAdjacentForward) { … }
TEST_F(QuicFramesTest, AddAdjacentReverse) { … }
TEST_F(QuicFramesTest, RemoveSmallestInterval) { … }
TEST_F(QuicFramesTest, CopyQuicFrames) { … }
class PacketNumberQueueTest : public QuicTest { … };
TEST_F(PacketNumberQueueTest, AddRange) { … }
TEST_F(PacketNumberQueueTest, Contains) { … }
TEST_F(PacketNumberQueueTest, Removal) { … }
TEST_F(PacketNumberQueueTest, Empty) { … }
TEST_F(PacketNumberQueueTest, LogDoesNotCrash) { … }
TEST_F(PacketNumberQueueTest, Iterators) { … }
TEST_F(PacketNumberQueueTest, ReversedIterators) { … }
TEST_F(PacketNumberQueueTest, IntervalLengthAndRemoveInterval) { … }
}
}
}