Index: net/quic/crypto/crypto_handshake_test.cc |
=================================================================== |
--- net/quic/crypto/crypto_handshake_test.cc (revision 0) |
+++ net/quic/crypto/crypto_handshake_test.cc (revision 0) |
@@ -0,0 +1,25 @@ |
+// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "net/quic/crypto/crypto_handshake.h" |
+ |
+#include "net/quic/test_tools/mock_clock.h" |
+#include "net/quic/test_tools/mock_random.h" |
wtc
2013/03/01 19:07:58
We should include "net/quic/crypto/quic_random.h".
ramant (doing other things)
2013/03/01 22:02:04
Done.
|
+#include "testing/gmock/include/gmock/gmock.h" |
+#include "testing/gtest/include/gtest/gtest.h" |
+ |
+namespace net { |
+namespace test { |
+ |
+// TODO(rtenneti): Delete QuicCryptoServerConfig. |
+TEST(QuicCryptoProtocol, ServerConfig) { |
+ QuicCryptoServerConfig server; |
+ MockClock clock; |
+ |
+ server.AddTestingConfig(QuicRandom::GetInstance(), |
+ &clock); |
+} |
+ |
+} // namespace test |
+} // namespace net |