#include "quiche/quic/core/quic_ping_manager.h"
#include "quiche/quic/core/quic_connection_alarms.h"
#include "quiche/quic/core/quic_one_block_arena.h"
#include "quiche/quic/platform/api/quic_test.h"
#include "quiche/quic/test_tools/mock_quic_connection_alarms.h"
#include "quiche/quic/test_tools/quic_test_utils.h"
namespace quic {
namespace test {
class QuicPingManagerPeer { … };
namespace {
const bool kShouldKeepAlive = …;
const bool kHasInflightPackets = …;
class MockDelegate : public QuicPingManager::Delegate { … };
class QuicPingManagerTest : public QuicTest { … };
TEST_F(QuicPingManagerTest, KeepAliveTimeout) { … }
TEST_F(QuicPingManagerTest, CustomizedKeepAliveTimeout) { … }
TEST_F(QuicPingManagerTest, RetransmittableOnWireTimeout) { … }
TEST_F(QuicPingManagerTest, RetransmittableOnWireTimeoutExponentiallyBackOff) { … }
TEST_F(QuicPingManagerTest,
ResetRetransmitableOnWireTimeoutExponentiallyBackOff) { … }
TEST_F(QuicPingManagerTest, RetransmittableOnWireLimit) { … }
TEST_F(QuicPingManagerTest, MaxRetransmittableOnWireDelayShift) { … }
}
}
}