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

Unified Diff: net/quic/quic_packet_creator_test.cc

Issue 839143002: Roll Chrome into Mojo. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rebase Created 5 years, 11 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_packet_creator.cc ('k') | net/quic/quic_packet_generator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_packet_creator_test.cc
diff --git a/net/quic/quic_packet_creator_test.cc b/net/quic/quic_packet_creator_test.cc
index 578acea825d95c1deec757d78b640df6f09799b0..6be3c83e80282c5c54f79165c0ad35b1a65d3ef8 100644
--- a/net/quic/quic_packet_creator_test.cc
+++ b/net/quic/quic_packet_creator_test.cc
@@ -849,22 +849,6 @@ TEST_P(QuicPacketCreatorTest, UpdatePacketSequenceNumberLengthBandwidth) {
creator_.next_sequence_number_length());
}
-TEST_P(QuicPacketCreatorTest, CreateStreamFrameWithNotifier) {
- // Ensure that if CreateStreamFrame does not consume any data (e.g. a FIN only
- // frame) then any QuicAckNotifier that is passed in still gets attached to
- // the frame.
- scoped_refptr<MockAckNotifierDelegate> delegate(new MockAckNotifierDelegate);
- QuicAckNotifier notifier(delegate.get());
- QuicFrame frame;
- IOVector empty_iovector;
- bool fin = true;
- size_t consumed_bytes = creator_.CreateStreamFrameWithNotifier(
- 1u, empty_iovector, 0u, fin, &notifier, &frame);
- EXPECT_EQ(0u, consumed_bytes);
- EXPECT_EQ(&notifier, frame.stream_frame->notifier);
- delete frame.stream_frame;
-}
-
TEST_P(QuicPacketCreatorTest, SerializeFrame) {
if (!GetParam().version_serialization) {
creator_.StopSendingVersion();
« no previous file with comments | « net/quic/quic_packet_creator.cc ('k') | net/quic/quic_packet_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698