summaryrefslogtreecommitdiffstats
path: root/net/socket/ssl_client_socket_nss_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket/ssl_client_socket_nss_unittest.cc')
-rw-r--r--net/socket/ssl_client_socket_nss_unittest.cc17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/socket/ssl_client_socket_nss_unittest.cc b/net/socket/ssl_client_socket_nss_unittest.cc
new file mode 100644
index 0000000..2e85d31
--- /dev/null
+++ b/net/socket/ssl_client_socket_nss_unittest.cc
@@ -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