Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
liblinphone
Commits
fd86ba41
Commit
fd86ba41
authored
Feb 09, 2015
by
Gautier Pelloux-Prayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better use 2 lines instead of doing code within CU macros
parent
1f0d74ce
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
tester/call_tester.c
tester/call_tester.c
+2
-1
tester/player_tester.c
tester/player_tester.c
+2
-1
No files found.
tester/call_tester.c
View file @
fd86ba41
...
...
@@ -3509,7 +3509,8 @@ static void call_with_generic_cn(void) {
wait_for_until
(
marie
->
lc
,
pauline
->
lc
,
NULL
,
0
,
8000
);
rtps
=
rtp_session_get_stats
(
pauline_call
->
audiostream
->
ms
.
sessions
.
rtp_session
);
CU_ASSERT_TRUE
(
rtps
->
packet_recv
<=
300
&&
rtps
->
packet_recv
>=
200
);
CU_ASSERT_EQUAL
((
err
=
stat
(
recorded_file
,
&
stbuf
)),
0
);
err
=
stat
(
recorded_file
,
&
stbuf
);
CU_ASSERT_EQUAL
(
err
,
0
);
if
(
err
==
0
){
CU_ASSERT_TRUE
(
stbuf
.
st_size
>
120000
);
}
...
...
tester/player_tester.c
View file @
fd86ba41
...
...
@@ -57,7 +57,8 @@ static void play_file(const char *filename, bool_t unsupported_format, const cha
}
if
(
res
==
-
1
)
goto
fail
;
CU_ASSERT_EQUAL
((
res
=
linphone_player_start
(
player
)),
0
);
res
=
linphone_player_start
(
player
);
CU_ASSERT_EQUAL
(
res
,
0
);
if
(
res
==
-
1
)
goto
fail
;
CU_ASSERT_TRUE
(
wait_for_eof
(
&
eof
,
&
time
,
100
,
13000
));
...
...
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