#include "quiche/quic/core/quic_connection_context.h"
#include <memory>
#include <string>
#include <vector>
#include "quiche/quic/platform/api/quic_test.h"
#include "quiche/quic/platform/api/quic_thread.h"
ElementsAre;
namespace quic::test {
namespace {
class TraceCollector : public QuicConnectionTracer { … };
struct FakeConnection { … };
void SimpleSwitch() { … }
void NestedSwitch() { … }
void AlternatingSwitch() { … }
ThreadFunction;
template <ThreadFunction func>
class TestThread : public QuicThread { … };
template <ThreadFunction func>
void RunInThreads(size_t n_threads) { … }
class QuicConnectionContextTest : public QuicTest { … };
TEST_F(QuicConnectionContextTest, NullTracerOK) { … }
TEST_F(QuicConnectionContextTest, TestSimpleSwitch) { … }
TEST_F(QuicConnectionContextTest, TestNestedSwitch) { … }
TEST_F(QuicConnectionContextTest, TestAlternatingSwitch) { … }
}
}