mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-18 19:48:07 +00:00
tester: fix tests when building without video
This commit is contained in:
parent
30d30f60cc
commit
6df64fa84c
2 changed files with 9 additions and 1 deletions
|
|
@ -6054,11 +6054,13 @@ test_t call_tests[] = {
|
|||
TEST_NO_TAG("Call without SDP", call_with_no_sdp),
|
||||
TEST_NO_TAG("Call without SDP and ACK without SDP", call_with_no_sdp_ack_without_sdp),
|
||||
TEST_NO_TAG("Call paused resumed", call_paused_resumed),
|
||||
#ifdef VIDEO_ENABLED
|
||||
TEST_NO_TAG("Call paused resumed with video", call_paused_resumed_with_video),
|
||||
TEST_NO_TAG("Call paused resumed with video no sdp ack", call_paused_resumed_with_no_sdp_ack),
|
||||
TEST_NO_TAG("Call paused resumed with video no sdk ack using video policy for resume offers", call_paused_resumed_with_no_sdp_ack_using_video_policy),
|
||||
TEST_NO_TAG("Call paused, updated and resumed with video no sdk ack using video policy for resume offers", call_paused_updated_resumed_with_no_sdp_ack_using_video_policy),
|
||||
TEST_NO_TAG("Call paused, updated and resumed with video no sdk ack using video policy for resume offers with accept call update", call_paused_updated_resumed_with_no_sdp_ack_using_video_policy_and_accept_call_update),
|
||||
#endif
|
||||
TEST_NO_TAG("Call paused by both parties", call_paused_by_both),
|
||||
TEST_NO_TAG("Call paused resumed with loss", call_paused_resumed_with_loss),
|
||||
TEST_NO_TAG("Call paused resumed from callee", call_paused_resumed_from_callee),
|
||||
|
|
|
|||
|
|
@ -298,7 +298,13 @@ static void devices_reload_test(void) {
|
|||
devid1 = ms_strdup(linphone_core_get_video_device(mgr->lc));
|
||||
linphone_core_reload_video_devices(mgr->lc);
|
||||
devid2 = ms_strdup(linphone_core_get_video_device(mgr->lc));
|
||||
BC_ASSERT_STRING_EQUAL(devid1, devid2);
|
||||
|
||||
if (devid1 && devid2) {
|
||||
BC_ASSERT_STRING_EQUAL(devid1, devid2);
|
||||
} else {
|
||||
BC_ASSERT_PTR_NULL(devid1);
|
||||
BC_ASSERT_PTR_NULL(devid2);
|
||||
}
|
||||
ms_free(devid1);
|
||||
ms_free(devid2);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue