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
ae69575b
Commit
ae69575b
authored
Apr 26, 2016
by
Gautier Pelloux-Prayer
Browse files
presence_server_tester.c: fix previous commit
parent
0d298a1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tester/presence_server_tester.c
tester/presence_server_tester.c
+2
-2
No files found.
tester/presence_server_tester.c
View file @
ae69575b
...
...
@@ -371,7 +371,7 @@ static void test_presence_list_base(bool_t enable_compression) {
BC_ASSERT_EQUAL
(
laure
->
stat
.
number_of_NotifyPresenceReceived
,
2
,
int
,
"%d"
);
BC_ASSERT_EQUAL
(
linphone_core_get_default_friend_list
(
laure
->
lc
)
->
expected_notification_version
,
1
,
int
,
"%d"
);
lf
=
linphone_friend_list_find_friend_by_uri
(
linphone_core_get_default_friend_list
(
laure
->
lc
),
marie_identity
);
BC_ASSERT_EQUAL
(
linphone_friend_get_status
(
lf
),
LinphoneStatus
Vacation
,
int
,
"%d"
);
BC_ASSERT_EQUAL
(
linphone_friend_get_status
(
lf
),
LinphoneStatus
Busy
,
int
,
"%d"
);
if
(
!
BC_ASSERT_TRUE
(
lf
->
presence_received
))
goto
end
;
if
(
!
BC_ASSERT_TRUE
(
lf
->
subscribe_active
))
goto
end
;
lf
=
linphone_friend_list_find_friend_by_uri
(
linphone_core_get_default_friend_list
(
laure
->
lc
),
pauline_identity
);
...
...
@@ -415,7 +415,7 @@ static void test_presence_list_base(bool_t enable_compression) {
BC_ASSERT_EQUAL
(
pauline
->
stat
.
number_of_NotifyPresenceReceived
,
1
,
int
,
"%d"
);
BC_ASSERT_EQUAL
(
linphone_core_get_default_friend_list
(
pauline
->
lc
)
->
expected_notification_version
,
1
,
int
,
"%d"
);
lf
=
linphone_friend_list_find_friend_by_uri
(
linphone_core_get_default_friend_list
(
pauline
->
lc
),
marie_identity
);
BC_ASSERT_EQUAL
(
linphone_friend_get_status
(
lf
),
LinphoneStatus
Vacation
,
int
,
"%d"
);
BC_ASSERT_EQUAL
(
linphone_friend_get_status
(
lf
),
LinphoneStatus
Busy
,
int
,
"%d"
);
if
(
!
BC_ASSERT_TRUE
(
lf
->
presence_received
))
goto
end
;
if
(
!
BC_ASSERT_TRUE
(
lf
->
subscribe_active
))
goto
end
;
...
...
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