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
747397a0
Commit
747397a0
authored
Nov 12, 2019
by
Simon Morlat
Browse files
Fix a few tests.
parent
ff971c0f
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/auth-info/auth-stack.cpp
View file @
747397a0
...
...
@@ -49,6 +49,9 @@ void AuthStack::pushAuthRequested(const std::shared_ptr<AuthInfo> &ai){
void
AuthStack
::
authFound
(
const
std
::
shared_ptr
<
AuthInfo
>
&
ai
){
lInfo
()
<<
"AuthStack::authFound() for "
<<
ai
->
toString
();
mAuthFound
.
push_back
(
ai
);
if
(
!
mTimer
){
mTimer
=
mCore
.
getSal
()
->
createTimer
(
&
onTimeout
,
this
,
0
,
"authentication requests"
);
}
}
void
AuthStack
::
notifyAuthFailures
(){
...
...
tester/register_tester.c
View file @
747397a0
...
...
@@ -554,7 +554,7 @@ static void authenticated_register_with_wrong_late_credentials(void){
counters
=
get_stats
(
lcm
->
lc
);
register_with_refresh_base_3
(
lcm
->
lc
,
FALSE
,
auth_domain
,
route
,
TRUE
,
transport
,
LinphoneRegistrationFailed
);
linphone_transports_unref
(
transport
);
BC_ASSERT_
EQUAL
(
counters
->
number_of_auth_info_requested
,
2
,
int
,
"%d"
);
BC_ASSERT_
TRUE
(
wait_for
(
lcm
->
lc
,
NULL
,
&
counters
->
number_of_auth_info_requested
,
2
)
);
BC_ASSERT_EQUAL
(
counters
->
number_of_LinphoneRegistrationFailed
,
2
,
int
,
"%d"
);
BC_ASSERT_EQUAL
(
counters
->
number_of_LinphoneRegistrationProgress
,
2
,
int
,
"%d"
);
test_password
=
saved_test_passwd
;
...
...
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