Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
0fbe8403
Commit
0fbe8403
authored
Oct 15, 2020
by
johan
Browse files
Fix dual proxy message test
parent
f1e355a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tester/message_tester.c
tester/message_tester.c
+2
-2
No files found.
tester/message_tester.c
View file @
0fbe8403
...
...
@@ -439,7 +439,7 @@ static void text_message_with_send_error(void) {
void
text_message_from_non_default_proxy_config
(
void
)
{
LinphoneCoreManager
*
marie
=
linphone_core_manager_new2
(
"marie_dual_proxy_2_rc"
,
FALSE
);
LinphoneCoreManager
*
pauline
=
linphone_core_manager_new
(
"pauline_rc"
);
BC_ASSERT_TRUE
(
wait_for
(
marie
->
lc
,
NULL
,
&
marie
->
stat
.
number_of_LinphoneRegistrationOk
,
1
));
BC_ASSERT_TRUE
(
wait_for
(
marie
->
lc
,
NULL
,
&
marie
->
stat
.
number_of_LinphoneRegistrationOk
,
2
));
const
bctbx_list_t
*
proxyConfigs
=
linphone_core_get_proxy_config_list
(
marie
->
lc
);
BC_ASSERT_EQUAL
(
bctbx_list_size
(
proxyConfigs
),
2
,
int
,
"%d"
);
...
...
@@ -476,7 +476,7 @@ void text_message_from_non_default_proxy_config(void) {
void
text_message_reply_from_non_default_proxy_config
(
void
)
{
LinphoneCoreManager
*
marie
=
linphone_core_manager_new2
(
"marie_dual_proxy_2_rc"
,
FALSE
);
LinphoneCoreManager
*
pauline
=
linphone_core_manager_new
(
"pauline_rc"
);
BC_ASSERT_TRUE
(
wait_for
(
marie
->
lc
,
NULL
,
&
marie
->
stat
.
number_of_LinphoneRegistrationOk
,
1
));
BC_ASSERT_TRUE
(
wait_for
(
marie
->
lc
,
NULL
,
&
marie
->
stat
.
number_of_LinphoneRegistrationOk
,
2
));
const
bctbx_list_t
*
proxyConfigs
=
linphone_core_get_proxy_config_list
(
marie
->
lc
);
BC_ASSERT_EQUAL
(
bctbx_list_size
(
proxyConfigs
),
2
,
int
,
"%d"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment