Index: webrtc/pc/webrtcsession_unittest.cc |
diff --git a/webrtc/pc/webrtcsession_unittest.cc b/webrtc/pc/webrtcsession_unittest.cc |
index 862196557b0f3150d599673f34529fcec4e3aee9..497daffc32f11b10cbe021f790c46ca2c643ce00 100644 |
--- a/webrtc/pc/webrtcsession_unittest.cc |
+++ b/webrtc/pc/webrtcsession_unittest.cc |
@@ -70,7 +70,7 @@ using webrtc::WebRtcSession; |
using webrtc::kBundleWithoutRtcpMux; |
using webrtc::kCreateChannelFailed; |
using webrtc::kInvalidSdp; |
-using webrtc::kMlineMismatch; |
+using webrtc::kMlineMismatchInAnswer; |
using webrtc::kPushDownTDFailed; |
using webrtc::kSdpWithoutIceUfragPwd; |
using webrtc::kSdpWithoutDtlsFingerprint; |
@@ -3747,7 +3747,8 @@ TEST_F(WebRtcSessionTest, TestIncorrectMLinesInRemoteAnswer) { |
EXPECT_TRUE(modified_answer->Initialize(answer_copy, |
answer->session_id(), |
answer->session_version())); |
- SetRemoteDescriptionAnswerExpectError(kMlineMismatch, modified_answer); |
+ SetRemoteDescriptionAnswerExpectError(kMlineMismatchInAnswer, |
+ modified_answer); |
// Different content names. |
std::string sdp; |
@@ -3760,7 +3761,8 @@ TEST_F(WebRtcSessionTest, TestIncorrectMLinesInRemoteAnswer) { |
&sdp); |
SessionDescriptionInterface* modified_answer1 = |
CreateSessionDescription(JsepSessionDescription::kAnswer, sdp, NULL); |
- SetRemoteDescriptionAnswerExpectError(kMlineMismatch, modified_answer1); |
+ SetRemoteDescriptionAnswerExpectError(kMlineMismatchInAnswer, |
+ modified_answer1); |
// Different media types. |
EXPECT_TRUE(answer->ToString(&sdp)); |
@@ -3772,7 +3774,8 @@ TEST_F(WebRtcSessionTest, TestIncorrectMLinesInRemoteAnswer) { |
&sdp); |
SessionDescriptionInterface* modified_answer2 = |
CreateSessionDescription(JsepSessionDescription::kAnswer, sdp, NULL); |
- SetRemoteDescriptionAnswerExpectError(kMlineMismatch, modified_answer2); |
+ SetRemoteDescriptionAnswerExpectError(kMlineMismatchInAnswer, |
+ modified_answer2); |
SetRemoteDescriptionWithoutError(answer.release()); |
} |
@@ -3794,7 +3797,7 @@ TEST_F(WebRtcSessionTest, TestIncorrectMLinesInLocalAnswer) { |
EXPECT_TRUE(modified_answer->Initialize(answer_copy, |
answer->session_id(), |
answer->session_version())); |
- SetLocalDescriptionAnswerExpectError(kMlineMismatch, modified_answer); |
+ SetLocalDescriptionAnswerExpectError(kMlineMismatchInAnswer, modified_answer); |
SetLocalDescriptionWithoutError(answer); |
} |