#include "quiche/quic/core/uber_quic_stream_id_manager.h"
#include <string>
#include <vector>
#include "quiche/quic/core/quic_utils.h"
#include "quiche/quic/core/quic_versions.h"
#include "quiche/quic/platform/api/quic_test.h"
#include "quiche/quic/test_tools/quic_stream_id_manager_peer.h"
#include "quiche/quic/test_tools/quic_test_utils.h"
_;
StrictMock;
namespace quic {
namespace test {
namespace {
struct TestParams { … };
std::string PrintToString(const TestParams& p) { … }
std::vector<TestParams> GetTestParams() { … }
class MockDelegate : public QuicStreamIdManager::DelegateInterface { … };
class UberQuicStreamIdManagerTest : public QuicTestWithParam<TestParams> { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(UberQuicStreamIdManagerTest, Initialization) { … }
TEST_P(UberQuicStreamIdManagerTest, SetMaxOpenOutgoingStreams) { … }
TEST_P(UberQuicStreamIdManagerTest, SetMaxOpenIncomingStreams) { … }
TEST_P(UberQuicStreamIdManagerTest, GetNextOutgoingStreamId) { … }
TEST_P(UberQuicStreamIdManagerTest, AvailableStreams) { … }
TEST_P(UberQuicStreamIdManagerTest, MaybeIncreaseLargestPeerStreamId) { … }
TEST_P(UberQuicStreamIdManagerTest, OnStreamsBlockedFrame) { … }
TEST_P(UberQuicStreamIdManagerTest, SetMaxOpenOutgoingStreamsPlusFrame) { … }
}
}
}