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

Unified Diff: net/socket/ssl_client_socket_nss_unittest.cc

Issue 8816002: SSLClientSocketNSS::ClearSessionCache should initialize (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Add NET_EXPORT_PRIVATE Created 9 years 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/socket/ssl_client_socket_nss.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket_nss_unittest.cc
===================================================================
--- net/socket/ssl_client_socket_nss_unittest.cc (revision 0)
+++ net/socket/ssl_client_socket_nss_unittest.cc (revision 0)
@@ -0,0 +1,17 @@
+// Copyright (c) 2011 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/socket/ssl_client_socket_nss.h"
+
+#include "testing/gtest/include/gtest/gtest.h"
+
+namespace net {
+
+// Verifies that SSLClientSocketNSS::ClearSessionCache can be called without
+// explicit NSS initialization.
+TEST(SSLClientSocketNSSTest, ClearSessionCache) {
+ SSLClientSocketNSS::ClearSessionCache();
+}
+
+} // namespace net
Property changes on: net\socket\ssl_client_socket_nss_unittest.cc
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « net/socket/ssl_client_socket_nss.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698