#include "net/quic/quic_clock_skew_detector.h"
#include "base/time/time.h"
#include "net/third_party/quiche/src/quiche/quic/test_tools/mock_clock.h"
#include "net/third_party/quiche/src/quiche/quic/test_tools/mock_random.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net::test {
namespace {
class QuicClockSkewDetectorTest : public ::testing::Test { … };
TEST_F(QuicClockSkewDetectorTest, NoChange) { … }
TEST_F(QuicClockSkewDetectorTest, NoOffset) { … }
TEST_F(QuicClockSkewDetectorTest, SmallOffset) { … }
TEST_F(QuicClockSkewDetectorTest, ManySmallOffset) { … }
TEST_F(QuicClockSkewDetectorTest, LargeOffset) { … }
TEST_F(QuicClockSkewDetectorTest, LargeOffsetThenSmallOffset) { … }
}
}