Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "net/socket/ssl_client_socket_nss.h" | 5 #include "net/socket/ssl_client_socket_nss.h" |
| 6 | 6 |
| 7 #include "net/socket/ssl_client_socket.h" | |
| 7 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
| 8 | 9 |
| 9 namespace net { | 10 namespace net { |
| 10 | 11 |
| 11 // Verifies that SSLClientSocketNSS::ClearSessionCache can be called without | 12 // Verifies that SSLClientSocket::ClearSessionCache can be called without |
| 12 // explicit NSS initialization. | 13 // explicit NSS initialization. |
| 13 TEST(SSLClientSocketNSSTest, ClearSessionCache) { | 14 TEST(SSLClientSocketNSSTest, ClearSessionCache) { |
| 14 SSLClientSocketNSS::ClearSessionCache(); | 15 SSLClientSocket::ClearSessionCache(); |
| 15 } | 16 } |
|
wtc
2011/12/10 01:22:37
We should move this unit test to ssl_client_socket
agl
2011/12/12 22:18:20
Done.
| |
| 16 | 17 |
| 17 } // namespace net | 18 } // namespace net |
| OLD | NEW |