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

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

Issue 2942743002: [cast_channel] Clean up CastSocketImpl ctor parameters (Closed)
Patch Set: fix compile error Created 3 years, 6 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 | « extensions/browser/api/cast_channel/cast_channel_enum_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/cast_channel/cast_channel_enum_util_unittest.cc
diff --git a/extensions/browser/api/cast_channel/cast_channel_enum_util_unittest.cc b/extensions/browser/api/cast_channel/cast_channel_enum_util_unittest.cc
index d1452b14f7ec9395c555989ef37e8af9b74d7855..bb7bf633ca3aef0b3d493e606e494ae7718f30f6 100644
--- a/extensions/browser/api/cast_channel/cast_channel_enum_util_unittest.cc
+++ b/extensions/browser/api/cast_channel/cast_channel_enum_util_unittest.cc
@@ -47,20 +47,6 @@ TEST(CastChannelEnumUtilTest, TestToChannelError) {
ToChannelError(::cast_channel::ChannelError::UNKNOWN));
}
-TEST(CastChannelEnumUtilTest, TestToChannelAuthType) {
- EXPECT_EQ(CHANNEL_AUTH_TYPE_NONE,
- ToChannelAuthType(::cast_channel::ChannelAuthType::NONE));
- EXPECT_EQ(CHANNEL_AUTH_TYPE_SSL_VERIFIED,
- ToChannelAuthType(::cast_channel::ChannelAuthType::SSL_VERIFIED));
-}
-
-TEST(CastChannelEnumUtilTest, TestToChannelAuthTypeInternal) {
- EXPECT_EQ(::cast_channel::ChannelAuthType::NONE,
- ToChannelAuthTypeInternal(CHANNEL_AUTH_TYPE_NONE));
- EXPECT_EQ(::cast_channel::ChannelAuthType::SSL_VERIFIED,
- ToChannelAuthTypeInternal(CHANNEL_AUTH_TYPE_SSL_VERIFIED));
-}
-
} // namespace
} // namespace cast_channel
} // namespace api
« no previous file with comments | « extensions/browser/api/cast_channel/cast_channel_enum_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698