blob: 63858c94a1a7281aeaa7330134f54e32dda3a9eb [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "quic/test_tools/mock_quic_time_wait_list_manager.h"
using testing::_;
using testing::Invoke;
namespace quic {
namespace test {
QuicPacketWriter* writer,
Visitor* visitor,
const QuicClock* clock,
QuicAlarmFactory* alarm_factory)
: QuicTimeWaitListManager(writer, visitor, clock, alarm_factory) {
// Though AddConnectionIdToTimeWait is mocked, we want to retain its
// functionality.
EXPECT_CALL(*this, AddConnectionIdToTimeWait(_, _))
ON_CALL(*this, AddConnectionIdToTimeWait(_, _))
Invoke(this, &MockTimeWaitListManager::
MockTimeWaitListManager::~MockTimeWaitListManager() = default;
} // namespace test
} // namespace quic