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

Unified Diff: net/ssl/ssl_connection_status_flags_unittest.cc

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 months 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/ssl/ssl_connection_status_flags.h ('k') | net/ssl/ssl_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/ssl_connection_status_flags_unittest.cc
diff --git a/net/ssl/ssl_connection_status_flags_unittest.cc b/net/ssl/ssl_connection_status_flags_unittest.cc
deleted file mode 100644
index 98e4f53b3fd339ac3b451bf0a6cd9f653656f5b7..0000000000000000000000000000000000000000
--- a/net/ssl/ssl_connection_status_flags_unittest.cc
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2014 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/ssl/ssl_connection_status_flags.h"
-
-#include "testing/gtest/include/gtest/gtest.h"
-
-namespace net {
-
-namespace {
-
-TEST(SSLConnectionStatusTest, SetCipherSuite) {
- int connection_status = 0xDEADBEEF;
- int expected_version = SSLConnectionStatusToVersion(connection_status);
-
- SSLConnectionStatusSetCipherSuite(12345, &connection_status);
- EXPECT_EQ(12345U, SSLConnectionStatusToCipherSuite(connection_status));
- EXPECT_EQ(expected_version, SSLConnectionStatusToVersion(connection_status));
-}
-
-TEST(SSLConnectionStatusTest, SetVersion) {
- int connection_status = 0xDEADBEEF;
- uint16 expected_cipher_suite =
- SSLConnectionStatusToCipherSuite(connection_status);
-
- SSLConnectionStatusSetVersion(SSL_CONNECTION_VERSION_TLS1_2,
- &connection_status);
- EXPECT_EQ(SSL_CONNECTION_VERSION_TLS1_2,
- SSLConnectionStatusToVersion(connection_status));
- EXPECT_EQ(expected_cipher_suite,
- SSLConnectionStatusToCipherSuite(connection_status));
-}
-
-} // namespace
-
-} // namespace net
« no previous file with comments | « net/ssl/ssl_connection_status_flags.h ('k') | net/ssl/ssl_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698