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

Unified Diff: extensions/browser/api/cast_channel/logger_unittest.cc

Issue 687733004: Implement crypto signature verification routines using OpenSSL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix const truncation warning (raised by Win builds.) Created 6 years, 1 month 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 | « extensions/browser/api/cast_channel/logger.cc ('k') | extensions/common/api/cast_channel/logging.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/cast_channel/logger_unittest.cc
diff --git a/extensions/browser/api/cast_channel/logger_unittest.cc b/extensions/browser/api/cast_channel/logger_unittest.cc
index 247ef00f772da38a47fb0ba616a16bee22d0117a..eefaea7aa10287aba101b0c14e6b0f90b0c1c50b 100644
--- a/extensions/browser/api/cast_channel/logger_unittest.cc
+++ b/extensions/browser/api/cast_channel/logger_unittest.cc
@@ -109,7 +109,7 @@ TEST_F(CastChannelLoggerTest, BasicLogging) {
auth_result =
AuthResult::CreateWithNSSError("Parsing failed",
- AuthResult::ERROR_NSS_CERT_PARSING_FAILED,
+ AuthResult::ERROR_CERT_PARSING_FAILED,
kTestNssErrorCode);
logger_->LogSocketChallengeReplyEvent(2, auth_result);
@@ -117,7 +117,7 @@ TEST_F(CastChannelLoggerTest, BasicLogging) {
EXPECT_EQ(last_errors.event_type, proto::AUTH_CHALLENGE_REPLY);
EXPECT_EQ(last_errors.net_return_value, net::OK);
EXPECT_EQ(last_errors.challenge_reply_error_type,
- proto::CHALLENGE_REPLY_ERROR_NSS_CERT_PARSING_FAILED);
+ proto::CHALLENGE_REPLY_ERROR_CERT_PARSING_FAILED);
EXPECT_EQ(last_errors.nss_error_code, kTestNssErrorCode);
scoped_ptr<Log> log = GetLog();
@@ -177,7 +177,7 @@ TEST_F(CastChannelLoggerTest, BasicLogging) {
const SocketEvent& event = aggregated_socket_event.socket_event(3);
EXPECT_EQ(EventType::AUTH_CHALLENGE_REPLY, event.type());
EXPECT_EQ(6, event.timestamp_micros());
- EXPECT_EQ(proto::CHALLENGE_REPLY_ERROR_NSS_CERT_PARSING_FAILED,
+ EXPECT_EQ(proto::CHALLENGE_REPLY_ERROR_CERT_PARSING_FAILED,
event.challenge_reply_error_type());
EXPECT_FALSE(event.has_net_return_value());
EXPECT_EQ(kTestNssErrorCode, event.nss_error_code());
« no previous file with comments | « extensions/browser/api/cast_channel/logger.cc ('k') | extensions/common/api/cast_channel/logging.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698