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
f16696d2
Commit
f16696d2
authored
Dec 16, 2014
by
Guillaume BIENKOWSKI
Browse files
Update file player test to take in account the new hello8000 duration
parent
e22eb31d
Changes
1
Hide whitespace changes
Inline
Side-by-side
tester/call_tester.c
View file @
f16696d2
...
...
@@ -2052,7 +2052,9 @@ static void call_with_file_player(void) {
CU_ASSERT_TRUE
(
linphone_player_open
(
player
,
hellopath
,
on_eof
,
marie
)
==
0
);
CU_ASSERT_TRUE
(
linphone_player_start
(
player
)
==
0
);
}
CU_ASSERT_TRUE
(
wait_for_until
(
pauline
->
lc
,
marie
->
lc
,
&
marie
->
stat
.
number_of_player_eof
,
1
,
12000
));
/* This assert should be modified to be at least as long as the hello8000.wav file */
CU_ASSERT_TRUE
(
wait_for_until
(
pauline
->
lc
,
marie
->
lc
,
&
marie
->
stat
.
number_of_player_eof
,
1
,
30000
));
/*just to sleep*/
linphone_core_terminate_all_calls
(
marie
->
lc
);
...
...
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