Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
M
mediasoup
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
聂卓夫
mediasoup
Commits
28ff4a73
Unverified
提交
28ff4a73
authored
1月 01, 2024
作者:
Iñaki Baz Castillo
提交者:
GitHub
1月 01, 2024
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update Catch2 to version 3.4.0 (#1287)
上级
e4f49911
显示空白字符变更
内嵌
并排
正在显示
46 个修改的文件
包含
59 行增加
和
67 行删除
+59
-67
catch2.wrap
worker/subprojects/catch2.wrap
+7
-8
tasks.py
worker/tasks.py
+5
-12
TestPayloadChannelNotification.cpp
...est/src/PayloadChannel/TestPayloadChannelNotification.cpp
+1
-1
TestPayloadChannelRequest.cpp
worker/test/src/PayloadChannel/TestPayloadChannelRequest.cpp
+1
-1
TestH264.cpp
worker/test/src/RTC/Codecs/TestH264.cpp
+1
-1
TestH264_SVC.cpp
worker/test/src/RTC/Codecs/TestH264_SVC.cpp
+1
-1
TestVP8.cpp
worker/test/src/RTC/Codecs/TestVP8.cpp
+1
-1
TestVP9.cpp
worker/test/src/RTC/Codecs/TestVP9.cpp
+1
-1
TestBye.cpp
worker/test/src/RTC/RTCP/TestBye.cpp
+1
-1
TestFeedbackPsAfb.cpp
worker/test/src/RTC/RTCP/TestFeedbackPsAfb.cpp
+1
-1
TestFeedbackPsFir.cpp
worker/test/src/RTC/RTCP/TestFeedbackPsFir.cpp
+1
-1
TestFeedbackPsLei.cpp
worker/test/src/RTC/RTCP/TestFeedbackPsLei.cpp
+1
-1
TestFeedbackPsPli.cpp
worker/test/src/RTC/RTCP/TestFeedbackPsPli.cpp
+1
-1
TestFeedbackPsRemb.cpp
worker/test/src/RTC/RTCP/TestFeedbackPsRemb.cpp
+1
-1
TestFeedbackPsRpsi.cpp
worker/test/src/RTC/RTCP/TestFeedbackPsRpsi.cpp
+1
-1
TestFeedbackPsSli.cpp
worker/test/src/RTC/RTCP/TestFeedbackPsSli.cpp
+1
-1
TestFeedbackPsTst.cpp
worker/test/src/RTC/RTCP/TestFeedbackPsTst.cpp
+1
-1
TestFeedbackPsVbcm.cpp
worker/test/src/RTC/RTCP/TestFeedbackPsVbcm.cpp
+1
-1
TestFeedbackRtpEcn.cpp
worker/test/src/RTC/RTCP/TestFeedbackRtpEcn.cpp
+1
-1
TestFeedbackRtpNack.cpp
worker/test/src/RTC/RTCP/TestFeedbackRtpNack.cpp
+1
-1
TestFeedbackRtpSrReq.cpp
worker/test/src/RTC/RTCP/TestFeedbackRtpSrReq.cpp
+1
-1
TestFeedbackRtpTllei.cpp
worker/test/src/RTC/RTCP/TestFeedbackRtpTllei.cpp
+1
-1
TestFeedbackRtpTmmb.cpp
worker/test/src/RTC/RTCP/TestFeedbackRtpTmmb.cpp
+1
-1
TestFeedbackRtpTransport.cpp
worker/test/src/RTC/RTCP/TestFeedbackRtpTransport.cpp
+1
-1
TestPacket.cpp
worker/test/src/RTC/RTCP/TestPacket.cpp
+1
-1
TestReceiverReport.cpp
worker/test/src/RTC/RTCP/TestReceiverReport.cpp
+1
-1
TestSdes.cpp
worker/test/src/RTC/RTCP/TestSdes.cpp
+1
-1
TestSenderReport.cpp
worker/test/src/RTC/RTCP/TestSenderReport.cpp
+1
-1
TestXr.cpp
worker/test/src/RTC/RTCP/TestXr.cpp
+1
-1
TestKeyFrameRequestManager.cpp
worker/test/src/RTC/TestKeyFrameRequestManager.cpp
+1
-1
TestNackGenerator.cpp
worker/test/src/RTC/TestNackGenerator.cpp
+1
-1
TestRateCalculator.cpp
worker/test/src/RTC/TestRateCalculator.cpp
+1
-1
TestRtpEncodingParameters.cpp
worker/test/src/RTC/TestRtpEncodingParameters.cpp
+1
-1
TestRtpPacket.cpp
worker/test/src/RTC/TestRtpPacket.cpp
+1
-1
TestRtpPacketH264Svc.cpp
worker/test/src/RTC/TestRtpPacketH264Svc.cpp
+1
-1
TestRtpRetransmissionBuffer.cpp
worker/test/src/RTC/TestRtpRetransmissionBuffer.cpp
+1
-1
TestRtpStreamRecv.cpp
worker/test/src/RTC/TestRtpStreamRecv.cpp
+1
-1
TestRtpStreamSend.cpp
worker/test/src/RTC/TestRtpStreamSend.cpp
+1
-1
TestSeqManager.cpp
worker/test/src/RTC/TestSeqManager.cpp
+1
-1
TestTrendCalculator.cpp
worker/test/src/RTC/TestTrendCalculator.cpp
+1
-1
TestBits.cpp
worker/test/src/Utils/TestBits.cpp
+1
-1
TestByte.cpp
worker/test/src/Utils/TestByte.cpp
+1
-1
TestIP.cpp
worker/test/src/Utils/TestIP.cpp
+1
-1
TestString.cpp
worker/test/src/Utils/TestString.cpp
+1
-1
TestTime.cpp
worker/test/src/Utils/TestTime.cpp
+1
-1
tests.cpp
worker/test/src/tests.cpp
+4
-4
没有找到文件。
worker/subprojects/catch2.wrap
浏览文件 @
28ff4a73
[wrap-file]
[wrap-file]
directory = Catch2-2.13.7
directory = Catch2-3.4.0
source_url = https://github.com/catchorg/Catch2/archive/v2.13.7.zip
source_url = https://github.com/catchorg/Catch2/archive/v3.4.0.tar.gz
source_filename = Catch2-2.13.7.zip
source_filename = Catch2-3.4.0.tar.gz
source_hash = 3f3ccd90ad3a8fbb1beeb15e6db440ccdcbebe378dfd125d07a1f9a587a927e9
source_hash = 122928b814b75717316c71af69bd2b43387643ba076a6ec16e7882bfb2dfacbb
patch_filename = catch2_2.13.7-1_patch.zip
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/catch2_3.4.0-1/Catch2-3.4.0.tar.gz
patch_url = https://wrapdb.mesonbuild.com/v2/catch2_2.13.7-1/get_patch
wrapdb_version = 3.4.0-1
patch_hash = 2f7369645d747e5bd866317ac1dd4c3d04dc97d3aad4fc6b864bdf75d3b57158
[provide]
[provide]
catch2 = catch2_dep
catch2 = catch2_dep
catch2-with-main = catch2_with_main_dep
worker/tasks.py
浏览文件 @
28ff4a73
...
@@ -393,28 +393,21 @@ def test(ctx):
...
@@ -393,28 +393,21 @@ def test(ctx):
shell
=
SHELL
shell
=
SHELL
);
);
mediasoup_worker_test
=
'mediasoup-worker-test.exe'
if
os
.
name
==
'nt'
else
'mediasoup-worker-test'
;
mediasoup_test_tags
=
os
.
getenv
(
'MEDIASOUP_TEST_TAGS'
)
or
''
;
mediasoup_test_tags
=
os
.
getenv
(
'MEDIASOUP_TEST_TAGS'
)
or
''
;
# On Windows lcov doesn't work (at least not yet) and we need to add .exe to
# On Windows lcov doesn't work (at least not yet).
# the binary path.
if
os
.
name
!=
'nt'
:
if
os
.
name
==
'nt'
:
with
ctx
.
cd
(
WORKER_DIR
):
ctx
.
run
(
f
'"{BUILD_DIR}/mediasoup-worker-test.exe" --invisibles --use-colour=yes {mediasoup_test_tags}'
,
echo
=
True
,
pty
=
PTY_SUPPORTED
,
shell
=
SHELL
);
else
:
ctx
.
run
(
ctx
.
run
(
f
'"{LCOV}" --directory "{WORKER_DIR}" --zerocounters'
,
f
'"{LCOV}" --directory "{WORKER_DIR}" --zerocounters'
,
echo
=
True
,
echo
=
True
,
pty
=
PTY_SUPPORTED
,
pty
=
PTY_SUPPORTED
,
shell
=
SHELL
shell
=
SHELL
);
);
with
ctx
.
cd
(
WORKER_DIR
):
with
ctx
.
cd
(
WORKER_DIR
):
ctx
.
run
(
ctx
.
run
(
f
'"{BUILD_DIR}/mediasoup-worker-test" --invisibles --use-colour=yes
{mediasoup_test_tags}'
,
f
'"{BUILD_DIR}/{mediasoup_worker_test}" --invisibles --colour-mode=ansi
{mediasoup_test_tags}'
,
echo
=
True
,
echo
=
True
,
pty
=
PTY_SUPPORTED
,
pty
=
PTY_SUPPORTED
,
shell
=
SHELL
shell
=
SHELL
...
...
worker/test/src/PayloadChannel/TestPayloadChannelNotification.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "PayloadChannel/PayloadChannelNotification.hpp"
#include "PayloadChannel/PayloadChannelNotification.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
SCENARIO
(
"PayloadChannelNotification"
,
"[channel][notification]"
)
SCENARIO
(
"PayloadChannelNotification"
,
"[channel][notification]"
)
{
{
...
...
worker/test/src/PayloadChannel/TestPayloadChannelRequest.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "PayloadChannel/PayloadChannelRequest.hpp"
#include "PayloadChannel/PayloadChannelRequest.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
SCENARIO
(
"PayloadChannelRequest"
,
"[channel][request]"
)
SCENARIO
(
"PayloadChannelRequest"
,
"[channel][request]"
)
{
{
...
...
worker/test/src/RTC/Codecs/TestH264.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "RTC/Codecs/H264.hpp"
#include "RTC/Codecs/H264.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <cstring> // std::memcmp()
#include <cstring> // std::memcmp()
using
namespace
RTC
;
using
namespace
RTC
;
...
...
worker/test/src/RTC/Codecs/TestH264_SVC.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "RTC/Codecs/H264_SVC.hpp"
#include "RTC/Codecs/H264_SVC.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <cstring> // std::memcmp()
#include <cstring> // std::memcmp()
using
namespace
RTC
;
using
namespace
RTC
;
...
...
worker/test/src/RTC/Codecs/TestVP8.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "RTC/Codecs/VP8.hpp"
#include "RTC/Codecs/VP8.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <cstring> // std::memcmp(), std::memcpy()
#include <cstring> // std::memcmp(), std::memcpy()
using
namespace
RTC
;
using
namespace
RTC
;
...
...
worker/test/src/RTC/Codecs/TestVP9.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "RTC/Codecs/VP9.hpp"
#include "RTC/Codecs/VP9.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <cstring> // std::memcmp()
#include <cstring> // std::memcmp()
using
namespace
RTC
;
using
namespace
RTC
;
...
...
worker/test/src/RTC/RTCP/TestBye.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "RTC/RTCP/Bye.hpp"
#include "RTC/RTCP/Bye.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <cstring> // std::memcmp()
#include <cstring> // std::memcmp()
#include <string>
#include <string>
...
...
worker/test/src/RTC/RTCP/TestFeedbackPsAfb.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "RTC/RTCP/FeedbackPsAfb.hpp"
#include "RTC/RTCP/FeedbackPsAfb.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <cstring> // std::memcmp()
#include <cstring> // std::memcmp()
using
namespace
RTC
::
RTCP
;
using
namespace
RTC
::
RTCP
;
...
...
worker/test/src/RTC/RTCP/TestFeedbackPsFir.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "RTC/RTCP/FeedbackPsFir.hpp"
#include "RTC/RTCP/FeedbackPsFir.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <cstring> // std::memcmp()
#include <cstring> // std::memcmp()
using
namespace
RTC
::
RTCP
;
using
namespace
RTC
::
RTCP
;
...
...
worker/test/src/RTC/RTCP/TestFeedbackPsLei.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "RTC/RTCP/FeedbackPsLei.hpp"
#include "RTC/RTCP/FeedbackPsLei.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <cstring> // std::memcmp()
#include <cstring> // std::memcmp()
using
namespace
RTC
::
RTCP
;
using
namespace
RTC
::
RTCP
;
...
...
worker/test/src/RTC/RTCP/TestFeedbackPsPli.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "RTC/RTCP/FeedbackPsPli.hpp"
#include "RTC/RTCP/FeedbackPsPli.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <cstring> // std::memcmp()
#include <cstring> // std::memcmp()
using
namespace
RTC
::
RTCP
;
using
namespace
RTC
::
RTCP
;
...
...
worker/test/src/RTC/RTCP/TestFeedbackPsRemb.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "RTC/RTCP/FeedbackPsRemb.hpp"
#include "RTC/RTCP/FeedbackPsRemb.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <cstring> // std::memcmp()
#include <cstring> // std::memcmp()
using
namespace
RTC
::
RTCP
;
using
namespace
RTC
::
RTCP
;
...
...
worker/test/src/RTC/RTCP/TestFeedbackPsRpsi.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "RTC/RTCP/FeedbackPsRpsi.hpp"
#include "RTC/RTCP/FeedbackPsRpsi.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <cstring> // std::memcmp()
#include <cstring> // std::memcmp()
using
namespace
RTC
::
RTCP
;
using
namespace
RTC
::
RTCP
;
...
...
worker/test/src/RTC/RTCP/TestFeedbackPsSli.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "RTC/RTCP/FeedbackPsSli.hpp"
#include "RTC/RTCP/FeedbackPsSli.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <cstring> // std::memcmp()
#include <cstring> // std::memcmp()
using
namespace
RTC
::
RTCP
;
using
namespace
RTC
::
RTCP
;
...
...
worker/test/src/RTC/RTCP/TestFeedbackPsTst.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "RTC/RTCP/FeedbackPsTst.hpp"
#include "RTC/RTCP/FeedbackPsTst.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <cstring> // std::memcmp()
#include <cstring> // std::memcmp()
using
namespace
RTC
::
RTCP
;
using
namespace
RTC
::
RTCP
;
...
...
worker/test/src/RTC/RTCP/TestFeedbackPsVbcm.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "RTC/RTCP/FeedbackPsVbcm.hpp"
#include "RTC/RTCP/FeedbackPsVbcm.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <cstring> // std::memcmp()
#include <cstring> // std::memcmp()
using
namespace
RTC
::
RTCP
;
using
namespace
RTC
::
RTCP
;
...
...
worker/test/src/RTC/RTCP/TestFeedbackRtpEcn.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "RTC/RTCP/FeedbackRtpEcn.hpp"
#include "RTC/RTCP/FeedbackRtpEcn.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <cstring> // std::memcmp()
#include <cstring> // std::memcmp()
using
namespace
RTC
::
RTCP
;
using
namespace
RTC
::
RTCP
;
...
...
worker/test/src/RTC/RTCP/TestFeedbackRtpNack.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "RTC/RTCP/FeedbackRtpNack.hpp"
#include "RTC/RTCP/FeedbackRtpNack.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <cstring> // std::memcmp()
#include <cstring> // std::memcmp()
using
namespace
RTC
::
RTCP
;
using
namespace
RTC
::
RTCP
;
...
...
worker/test/src/RTC/RTCP/TestFeedbackRtpSrReq.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "RTC/RTCP/FeedbackRtpSrReq.hpp"
#include "RTC/RTCP/FeedbackRtpSrReq.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <cstring> // std::memcmp()
#include <cstring> // std::memcmp()
using
namespace
RTC
::
RTCP
;
using
namespace
RTC
::
RTCP
;
...
...
worker/test/src/RTC/RTCP/TestFeedbackRtpTllei.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "RTC/RTCP/FeedbackRtpTllei.hpp"
#include "RTC/RTCP/FeedbackRtpTllei.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <cstring> // std::memcmp()
#include <cstring> // std::memcmp()
using
namespace
RTC
::
RTCP
;
using
namespace
RTC
::
RTCP
;
...
...
worker/test/src/RTC/RTCP/TestFeedbackRtpTmmb.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "RTC/RTCP/FeedbackRtpTmmb.hpp"
#include "RTC/RTCP/FeedbackRtpTmmb.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <cstring> // std::memcmp()
#include <cstring> // std::memcmp()
using
namespace
RTC
::
RTCP
;
using
namespace
RTC
::
RTCP
;
...
...
worker/test/src/RTC/RTCP/TestFeedbackRtpTransport.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "Logger.hpp"
#include "Logger.hpp"
#include "RTC/RTCP/FeedbackRtpTransport.hpp"
#include "RTC/RTCP/FeedbackRtpTransport.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <cstring> // std::memcmp()
#include <cstring> // std::memcmp()
using
namespace
RTC
::
RTCP
;
using
namespace
RTC
::
RTCP
;
...
...
worker/test/src/RTC/RTCP/TestPacket.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "RTC/RTCP/Packet.hpp"
#include "RTC/RTCP/Packet.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
using
namespace
RTC
::
RTCP
;
using
namespace
RTC
::
RTCP
;
...
...
worker/test/src/RTC/RTCP/TestReceiverReport.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "RTC/RTCP/ReceiverReport.hpp"
#include "RTC/RTCP/ReceiverReport.hpp"
#include "RTC/RTCP/SenderReport.hpp" // sizeof(SenderReport::Header)
#include "RTC/RTCP/SenderReport.hpp" // sizeof(SenderReport::Header)
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
using
namespace
RTC
::
RTCP
;
using
namespace
RTC
::
RTCP
;
...
...
worker/test/src/RTC/RTCP/TestSdes.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "RTC/RTCP/Packet.hpp"
#include "RTC/RTCP/Packet.hpp"
#include "RTC/RTCP/Sdes.hpp"
#include "RTC/RTCP/Sdes.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <cstring> // std::memcmp()
#include <cstring> // std::memcmp()
#include <string>
#include <string>
...
...
worker/test/src/RTC/RTCP/TestSenderReport.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "RTC/RTCP/SenderReport.hpp"
#include "RTC/RTCP/SenderReport.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <cstring> // std::memcmp()
#include <cstring> // std::memcmp()
using
namespace
RTC
::
RTCP
;
using
namespace
RTC
::
RTCP
;
...
...
worker/test/src/RTC/RTCP/TestXr.cpp
浏览文件 @
28ff4a73
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
#include "RTC/RTCP/XR.hpp"
#include "RTC/RTCP/XR.hpp"
#include "RTC/RTCP/XrDelaySinceLastRr.hpp"
#include "RTC/RTCP/XrDelaySinceLastRr.hpp"
#include "RTC/RTCP/XrReceiverReferenceTime.hpp"
#include "RTC/RTCP/XrReceiverReferenceTime.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <cstring> // std::memcmp(), std::memcpy()
#include <cstring> // std::memcmp(), std::memcpy()
using
namespace
RTC
::
RTCP
;
using
namespace
RTC
::
RTCP
;
...
...
worker/test/src/RTC/TestKeyFrameRequestManager.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "DepLibUV.hpp"
#include "DepLibUV.hpp"
#include "RTC/KeyFrameRequestManager.hpp"
#include "RTC/KeyFrameRequestManager.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
using
namespace
RTC
;
using
namespace
RTC
;
...
...
worker/test/src/RTC/TestNackGenerator.cpp
浏览文件 @
28ff4a73
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
#include "RTC/Codecs/PayloadDescriptorHandler.hpp"
#include "RTC/Codecs/PayloadDescriptorHandler.hpp"
#include "RTC/NackGenerator.hpp"
#include "RTC/NackGenerator.hpp"
#include "RTC/RtpPacket.hpp"
#include "RTC/RtpPacket.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <vector>
#include <vector>
using
namespace
RTC
;
using
namespace
RTC
;
...
...
worker/test/src/RTC/TestRateCalculator.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "DepLibUV.hpp"
#include "DepLibUV.hpp"
#include "RTC/RateCalculator.hpp"
#include "RTC/RateCalculator.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <vector>
#include <vector>
using
namespace
RTC
;
using
namespace
RTC
;
...
...
worker/test/src/RTC/TestRtpEncodingParameters.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <regex>
#include <regex>
static
const
std
::
regex
ScalabilityModeRegex
(
static
const
std
::
regex
ScalabilityModeRegex
(
...
...
worker/test/src/RTC/TestRtpPacket.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "helpers.hpp"
#include "helpers.hpp"
#include "RTC/RtpPacket.hpp"
#include "RTC/RtpPacket.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <cstring> // std::memset()
#include <cstring> // std::memset()
#include <string>
#include <string>
#include <vector>
#include <vector>
...
...
worker/test/src/RTC/TestRtpPacketH264Svc.cpp
浏览文件 @
28ff4a73
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
#include "helpers.hpp"
#include "helpers.hpp"
#include "RTC/Codecs/H264_SVC.hpp"
#include "RTC/Codecs/H264_SVC.hpp"
#include "RTC/RtpPacket.hpp"
#include "RTC/RtpPacket.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <cstring> // std::memset()
#include <cstring> // std::memset()
#include <sstream>
#include <sstream>
#include <string>
#include <string>
...
...
worker/test/src/RTC/TestRtpRetransmissionBuffer.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "RTC/RtpPacket.hpp"
#include "RTC/RtpPacket.hpp"
#include "RTC/RtpRetransmissionBuffer.hpp"
#include "RTC/RtpRetransmissionBuffer.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <vector>
#include <vector>
using
namespace
RTC
;
using
namespace
RTC
;
...
...
worker/test/src/RTC/TestRtpStreamRecv.cpp
浏览文件 @
28ff4a73
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
#include "RTC/RtpPacket.hpp"
#include "RTC/RtpPacket.hpp"
#include "RTC/RtpStream.hpp"
#include "RTC/RtpStream.hpp"
#include "RTC/RtpStreamRecv.hpp"
#include "RTC/RtpStreamRecv.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <vector>
#include <vector>
using
namespace
RTC
;
using
namespace
RTC
;
...
...
worker/test/src/RTC/TestRtpStreamSend.cpp
浏览文件 @
28ff4a73
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
#include "RTC/RtpPacket.hpp"
#include "RTC/RtpPacket.hpp"
#include "RTC/RtpStream.hpp"
#include "RTC/RtpStream.hpp"
#include "RTC/RtpStreamSend.hpp"
#include "RTC/RtpStreamSend.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <vector>
#include <vector>
// #define PERFORMANCE_TEST 1
// #define PERFORMANCE_TEST 1
...
...
worker/test/src/RTC/TestSeqManager.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "RTC/SeqManager.hpp"
#include "RTC/SeqManager.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <string>
#include <string>
#include <vector>
#include <vector>
...
...
worker/test/src/RTC/TestTrendCalculator.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "RTC/TrendCalculator.hpp"
#include "RTC/TrendCalculator.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
using
namespace
RTC
;
using
namespace
RTC
;
...
...
worker/test/src/Utils/TestBits.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "Utils.hpp"
#include "Utils.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
SCENARIO
(
"Utils::Bits::CountSetBits()"
)
SCENARIO
(
"Utils::Bits::CountSetBits()"
)
{
{
...
...
worker/test/src/Utils/TestByte.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "Utils.hpp"
#include "Utils.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
SCENARIO
(
"Utils::Byte"
)
SCENARIO
(
"Utils::Byte"
)
{
{
...
...
worker/test/src/Utils/TestIP.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "MediaSoupErrors.hpp"
#include "MediaSoupErrors.hpp"
#include "Utils.hpp"
#include "Utils.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <cstring> // std::memset()
#include <cstring> // std::memset()
#ifdef _WIN32
#ifdef _WIN32
#include <winsock2.h>
#include <winsock2.h>
...
...
worker/test/src/Utils/TestString.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "Utils.hpp"
#include "Utils.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
#include <cstring> // std::memcmp()
#include <cstring> // std::memcmp()
using
namespace
Utils
;
using
namespace
Utils
;
...
...
worker/test/src/Utils/TestTime.cpp
浏览文件 @
28ff4a73
#include "common.hpp"
#include "common.hpp"
#include "DepLibUV.hpp"
#include "DepLibUV.hpp"
#include "Utils.hpp"
#include "Utils.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_test_macros
.hpp>
using
namespace
Utils
;
using
namespace
Utils
;
...
...
worker/test/src/tests.cpp
浏览文件 @
28ff4a73
#define CATCH_CONFIG_RUNNER
#include "DepLibSRTP.hpp"
#include "DepLibSRTP.hpp"
#include "DepLibUV.hpp"
#include "DepLibUV.hpp"
#include "DepLibWebRTC.hpp"
#include "DepLibWebRTC.hpp"
...
@@ -8,7 +6,7 @@
...
@@ -8,7 +6,7 @@
#include "LogLevel.hpp"
#include "LogLevel.hpp"
#include "Settings.hpp"
#include "Settings.hpp"
#include "Utils.hpp"
#include "Utils.hpp"
#include <catch2/catch.hpp>
#include <catch2/catch
_session
.hpp>
#include <cstdlib> // std::getenv()
#include <cstdlib> // std::getenv()
int
main
(
int
argc
,
char
*
argv
[])
int
main
(
int
argc
,
char
*
argv
[])
...
@@ -53,7 +51,9 @@ int main(int argc, char* argv[])
...
@@ -53,7 +51,9 @@ int main(int argc, char* argv[])
DepLibWebRTC
::
ClassInit
();
DepLibWebRTC
::
ClassInit
();
Utils
::
Crypto
::
ClassInit
();
Utils
::
Crypto
::
ClassInit
();
int
status
=
Catch
::
Session
().
run
(
argc
,
argv
);
Catch
::
Session
session
;
int
status
=
session
.
run
(
argc
,
argv
);
// Free static stuff.
// Free static stuff.
DepLibSRTP
::
ClassDestroy
();
DepLibSRTP
::
ClassDestroy
();
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论