diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /third_party/libwebrtc/pc/data_channel_unittest.cc | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/libwebrtc/pc/data_channel_unittest.cc')
-rw-r--r-- | third_party/libwebrtc/pc/data_channel_unittest.cc | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/third_party/libwebrtc/pc/data_channel_unittest.cc b/third_party/libwebrtc/pc/data_channel_unittest.cc index 9b84a1be61..a27a66c3de 100644 --- a/third_party/libwebrtc/pc/data_channel_unittest.cc +++ b/third_party/libwebrtc/pc/data_channel_unittest.cc @@ -81,8 +81,7 @@ class SctpDataChannelTest : public ::testing::Test { controller_(new FakeDataChannelController(&network_thread_)) { network_thread_.Start(); inner_channel_ = controller_->CreateDataChannel("test", init_); - channel_ = - webrtc::SctpDataChannel::CreateProxy(inner_channel_, signaling_safety_); + channel_ = SctpDataChannel::CreateProxy(inner_channel_, signaling_safety_); } ~SctpDataChannelTest() override { run_loop_.Flush(); @@ -510,7 +509,7 @@ TEST_F(SctpDataChannelTest, LateCreatedChannelTransitionToOpen) { SetChannelReady(); InternalDataChannelInit init; init.id = 1; - auto dc = webrtc::SctpDataChannel::CreateProxy( + auto dc = SctpDataChannel::CreateProxy( controller_->CreateDataChannel("test1", init), signaling_safety_); EXPECT_EQ(DataChannelInterface::kOpen, dc->state()); } @@ -524,7 +523,7 @@ TEST_F(SctpDataChannelTest, SendUnorderedAfterReceivesOpenAck) { init.ordered = false; rtc::scoped_refptr<SctpDataChannel> dc = controller_->CreateDataChannel("test1", init); - auto proxy = webrtc::SctpDataChannel::CreateProxy(dc, signaling_safety_); + auto proxy = SctpDataChannel::CreateProxy(dc, signaling_safety_); EXPECT_EQ_WAIT(DataChannelInterface::kOpen, proxy->state(), 1000); @@ -553,7 +552,7 @@ TEST_F(SctpDataChannelTest, DeprecatedSendUnorderedAfterReceivesOpenAck) { init.ordered = false; rtc::scoped_refptr<SctpDataChannel> dc = controller_->CreateDataChannel("test1", init); - auto proxy = webrtc::SctpDataChannel::CreateProxy(dc, signaling_safety_); + auto proxy = SctpDataChannel::CreateProxy(dc, signaling_safety_); EXPECT_EQ_WAIT(DataChannelInterface::kOpen, proxy->state(), 1000); @@ -582,7 +581,7 @@ TEST_F(SctpDataChannelTest, SendUnorderedAfterReceiveData) { init.ordered = false; rtc::scoped_refptr<SctpDataChannel> dc = controller_->CreateDataChannel("test1", init); - auto proxy = webrtc::SctpDataChannel::CreateProxy(dc, signaling_safety_); + auto proxy = SctpDataChannel::CreateProxy(dc, signaling_safety_); EXPECT_EQ_WAIT(DataChannelInterface::kOpen, proxy->state(), 1000); @@ -605,7 +604,7 @@ TEST_F(SctpDataChannelTest, DeprecatedSendUnorderedAfterReceiveData) { init.ordered = false; rtc::scoped_refptr<SctpDataChannel> dc = controller_->CreateDataChannel("test1", init); - auto proxy = webrtc::SctpDataChannel::CreateProxy(dc, signaling_safety_); + auto proxy = SctpDataChannel::CreateProxy(dc, signaling_safety_); EXPECT_EQ_WAIT(DataChannelInterface::kOpen, proxy->state(), 1000); @@ -714,7 +713,7 @@ TEST_F(SctpDataChannelTest, NoMsgSentIfNegotiatedAndNotFromOpenMsg) { SetChannelReady(); rtc::scoped_refptr<SctpDataChannel> dc = controller_->CreateDataChannel("test1", config); - auto proxy = webrtc::SctpDataChannel::CreateProxy(dc, signaling_safety_); + auto proxy = SctpDataChannel::CreateProxy(dc, signaling_safety_); EXPECT_EQ_WAIT(DataChannelInterface::kOpen, proxy->state(), 1000); EXPECT_EQ(0, controller_->last_sid()); @@ -779,7 +778,7 @@ TEST_F(SctpDataChannelTest, OpenAckSentIfCreatedFromOpenMessage) { SetChannelReady(); rtc::scoped_refptr<SctpDataChannel> dc = controller_->CreateDataChannel("test1", config); - auto proxy = webrtc::SctpDataChannel::CreateProxy(dc, signaling_safety_); + auto proxy = SctpDataChannel::CreateProxy(dc, signaling_safety_); EXPECT_EQ_WAIT(DataChannelInterface::kOpen, proxy->state(), 1000); |