Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1371)

Unified Diff: net/quic/quic_connection_test.cc

Issue 1038293002: Move test for incoming packets with incorrect connection ID from (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Fix_flaky_QUIC_end_to_end_test_89220759
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_connection.cc ('k') | net/quic/test_tools/quic_test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection_test.cc
diff --git a/net/quic/quic_connection_test.cc b/net/quic/quic_connection_test.cc
index 8984aa62d6a9c67ccf948b3cddaed0f958fddd65..14945afbb18429bf18ca23f1e49e67e482051607 100644
--- a/net/quic/quic_connection_test.cc
+++ b/net/quic/quic_connection_test.cc
@@ -4359,56 +4359,6 @@ TEST_P(QuicConnectionTest, NetworkChangeVisitorRttCallbackChangesFecState) {
QuicPacketGeneratorPeer::GetFecTimeout(generator_));
}
-class MockQuicConnectionDebugVisitor
- : public QuicConnectionDebugVisitor {
- public:
- MOCK_METHOD1(OnFrameAddedToPacket,
- void(const QuicFrame&));
-
- MOCK_METHOD6(OnPacketSent,
- void(const SerializedPacket&,
- QuicPacketSequenceNumber,
- EncryptionLevel,
- TransmissionType,
- const QuicEncryptedPacket&,
- QuicTime));
-
- MOCK_METHOD3(OnPacketReceived,
- void(const IPEndPoint&,
- const IPEndPoint&,
- const QuicEncryptedPacket&));
-
- MOCK_METHOD1(OnProtocolVersionMismatch,
- void(QuicVersion));
-
- MOCK_METHOD1(OnPacketHeader,
- void(const QuicPacketHeader& header));
-
- MOCK_METHOD1(OnStreamFrame,
- void(const QuicStreamFrame&));
-
- MOCK_METHOD1(OnAckFrame,
- void(const QuicAckFrame& frame));
-
- MOCK_METHOD1(OnStopWaitingFrame,
- void(const QuicStopWaitingFrame&));
-
- MOCK_METHOD1(OnRstStreamFrame,
- void(const QuicRstStreamFrame&));
-
- MOCK_METHOD1(OnConnectionCloseFrame,
- void(const QuicConnectionCloseFrame&));
-
- MOCK_METHOD1(OnPublicResetPacket,
- void(const QuicPublicResetPacket&));
-
- MOCK_METHOD1(OnVersionNegotiationPacket,
- void(const QuicVersionNegotiationPacket&));
-
- MOCK_METHOD2(OnRevivedPacket,
- void(const QuicPacketHeader&, StringPiece payload));
-};
-
TEST_P(QuicConnectionTest, OnPacketHeaderDebugVisitor) {
QuicPacketHeader header;
« no previous file with comments | « net/quic/quic_connection.cc ('k') | net/quic/test_tools/quic_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698