#include "quiche/quic/core/quic_packets.h"
#include <memory>
#include <string>
#include "absl/memory/memory.h"
#include "quiche/quic/core/quic_time.h"
#include "quiche/quic/core/quic_types.h"
#include "quiche/quic/platform/api/quic_flags.h"
#include "quiche/quic/platform/api/quic_test.h"
#include "quiche/quic/test_tools/quic_test_utils.h"
#include "quiche/common/test_tools/quiche_test_utils.h"
namespace quic {
namespace test {
namespace {
QuicPacketHeader CreateFakePacketHeader() { … }
class QuicPacketsTest : public QuicTest { … };
TEST_F(QuicPacketsTest, GetServerConnectionIdAsRecipient) { … }
TEST_F(QuicPacketsTest, GetServerConnectionIdAsSender) { … }
TEST_F(QuicPacketsTest, GetServerConnectionIdIncludedAsSender) { … }
TEST_F(QuicPacketsTest, GetClientConnectionIdIncludedAsSender) { … }
TEST_F(QuicPacketsTest, GetClientConnectionIdAsRecipient) { … }
TEST_F(QuicPacketsTest, GetClientConnectionIdAsSender) { … }
TEST_F(QuicPacketsTest, CopyQuicPacketHeader) { … }
TEST_F(QuicPacketsTest, CopySerializedPacket) { … }
TEST_F(QuicPacketsTest, CloneReceivedPacket) { … }
}
}
}