| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/basictypes.h" |
| 5 #include "base/strings/string_number_conversions.h" | 6 #include "base/strings/string_number_conversions.h" |
| 6 #include "crypto/secure_hash.h" | 7 #include "crypto/secure_hash.h" |
| 7 #include "net/quic/crypto/crypto_utils.h" | 8 #include "net/quic/crypto/crypto_utils.h" |
| 8 #include "net/quic/crypto/quic_crypto_server_config.h" | 9 #include "net/quic/crypto/quic_crypto_server_config.h" |
| 9 #include "net/quic/crypto/quic_random.h" | 10 #include "net/quic/crypto/quic_random.h" |
| 10 #include "net/quic/quic_utils.h" | 11 #include "net/quic/quic_utils.h" |
| 11 #include "net/quic/test_tools/crypto_test_utils.h" | 12 #include "net/quic/test_tools/crypto_test_utils.h" |
| 12 #include "net/quic/test_tools/delayed_verify_strike_register_client.h" | 13 #include "net/quic/test_tools/delayed_verify_strike_register_client.h" |
| 13 #include "net/quic/test_tools/mock_clock.h" | 14 #include "net/quic/test_tools/mock_clock.h" |
| 14 #include "net/quic/test_tools/mock_random.h" | 15 #include "net/quic/test_tools/mock_random.h" |
| (...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 489 | 490 |
| 490 strike_register_client_->RunPendingVerifications(); | 491 strike_register_client_->RunPendingVerifications(); |
| 491 ASSERT_TRUE(called); | 492 ASSERT_TRUE(called); |
| 492 EXPECT_EQ(0, strike_register_client_->PendingVerifications()); | 493 EXPECT_EQ(0, strike_register_client_->PendingVerifications()); |
| 493 // The message should be rejected now. | 494 // The message should be rejected now. |
| 494 EXPECT_EQ(kREJ, out_.tag()); | 495 EXPECT_EQ(kREJ, out_.tag()); |
| 495 } | 496 } |
| 496 | 497 |
| 497 } // namespace test | 498 } // namespace test |
| 498 } // namespace net | 499 } // namespace net |
| OLD | NEW |