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

Unified Diff: net/tools/quic/end_to_end_test.cc

Issue 608453007: No functional change. Rename QuicConfig methods from lowercase with (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Add_test_to_TcpCubicSender_76165601
Patch Set: Created 6 years, 3 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/test_tools/quic_client_session_peer.cc ('k') | net/tools/quic/quic_client_session_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/end_to_end_test.cc
diff --git a/net/tools/quic/end_to_end_test.cc b/net/tools/quic/end_to_end_test.cc
index 42cfb2c8615eccd4fc19b75053bad1e64d77b61d..200926d810d4850168b141f4506f31f535fba642 100644
--- a/net/tools/quic/end_to_end_test.cc
+++ b/net/tools/quic/end_to_end_test.cc
@@ -870,7 +870,7 @@ TEST_P(EndToEndTest, DISABLED_MultipleTermination) {
}
TEST_P(EndToEndTest, Timeout) {
- client_config_.set_idle_connection_state_lifetime(
+ client_config_.SetIdleConnectionStateLifetime(
QuicTime::Delta::FromMicroseconds(500),
QuicTime::Delta::FromMicroseconds(500));
// Note: we do NOT ASSERT_TRUE: we may time out during initial handshake:
@@ -883,7 +883,7 @@ TEST_P(EndToEndTest, Timeout) {
TEST_P(EndToEndTest, NegotiateMaxOpenStreams) {
// Negotiate 1 max open stream.
- client_config_.set_max_streams_per_connection(1, 1);
+ client_config_.SetMaxStreamsPerConnection(1, 1);
ASSERT_TRUE(Initialize());
client_->client()->WaitForCryptoHandshakeConfirmed();
@@ -932,14 +932,14 @@ TEST_P(EndToEndTest, NegotiateCongestionControl) {
TEST_P(EndToEndTest, LimitMaxOpenStreams) {
// Server limits the number of max streams to 2.
- server_config_.set_max_streams_per_connection(2, 2);
+ server_config_.SetMaxStreamsPerConnection(2, 2);
// Client tries to negotiate for 10.
- client_config_.set_max_streams_per_connection(10, 5);
+ client_config_.SetMaxStreamsPerConnection(10, 5);
ASSERT_TRUE(Initialize());
client_->client()->WaitForCryptoHandshakeConfirmed();
QuicConfig* client_negotiated_config = client_->client()->session()->config();
- EXPECT_EQ(2u, client_negotiated_config->max_streams_per_connection());
+ EXPECT_EQ(2u, client_negotiated_config->MaxStreamsPerConnection());
}
TEST_P(EndToEndTest, LimitCongestionWindowAndRTT) {
« no previous file with comments | « net/quic/test_tools/quic_client_session_peer.cc ('k') | net/tools/quic/quic_client_session_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698