#include "net/quic/quic_socket_data_provider.h"
#include <memory>
#include "base/strings/string_number_conversions.h"
#include "base/task/sequenced_task_runner.h"
#include "base/test/bind.h"
#include "base/test/gtest_util.h"
#include "net/base/io_buffer.h"
#include "net/quic/mock_quic_context.h"
#include "net/quic/quic_test_packet_maker.h"
#include "net/socket/datagram_client_socket.h"
#include "net/socket/diff_serv_code_point.h"
#include "net/socket/socket_test_util.h"
#include "net/test/test_with_task_environment.h"
#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
#include "testing/gtest/include/gtest/gtest-spi.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net::test {
class QuicSocketDataProviderTest : public TestWithTaskEnvironment { … };
TEST_F(QuicSocketDataProviderTest, LinearSequenceSync) { … }
TEST_F(QuicSocketDataProviderTest, LinearSequenceAsync) { … }
TEST_F(QuicSocketDataProviderTest, ReadTos) { … }
TEST_F(QuicSocketDataProviderTest, AddReadError) { … }
TEST_F(QuicSocketDataProviderTest, AddReadQuicReceivedPacketGetsEcn) { … }
TEST_F(QuicSocketDataProviderTest, MismatchedWrite) { … }
TEST_F(QuicSocketDataProviderTest, NotAllConsumed) { … }
TEST_F(QuicSocketDataProviderTest, ReadBlocksWrite) { … }
TEST_F(QuicSocketDataProviderTest, WriteDelaysRead) { … }
TEST_F(QuicSocketDataProviderTest, PauseDelaysCalls) { … }
TEST_F(QuicSocketDataProviderTest, ParallelReadAndWrite) { … }
TEST_F(QuicSocketDataProviderTest, MultipleReadsReady) { … }
}