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
26096fd3
Commit
26096fd3
authored
Aug 29, 2016
by
Gautier Pelloux-Prayer
Browse files
tester: fix
parent
3f7d8618
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
CMakeLists.txt
CMakeLists.txt
+1
-1
tester/presence_server_tester.c
tester/presence_server_tester.c
+4
-3
No files found.
CMakeLists.txt
View file @
26096fd3
...
...
@@ -21,7 +21,7 @@
############################################################################
cmake_minimum_required
(
VERSION 3.0
)
project
(
linphone VERSION 3.10.
0
LANGUAGES C CXX
)
project
(
linphone VERSION 3.10.
1
LANGUAGES C CXX
)
set
(
LINPHONE_MAJOR_VERSION
${
PROJECT_VERSION_MAJOR
}
)
...
...
tester/presence_server_tester.c
View file @
26096fd3
...
...
@@ -768,11 +768,12 @@ static void long_term_presence_phone_without_sip(void) {
friend2
=
linphone_core_create_friend
(
pauline
->
lc
);
linphone_friend_add_phone_number
(
friend2
,
marie
->
phone_alias
);
linphone_friend_edit
(
friend2
);
linphone_friend_enable_subscribes
(
friend2
,
TRUE
);
linphone_friend_done
(
friend2
);
linphone_core_add_friend
(
pauline
->
lc
,
friend2
);
linphone_friend_list_set_rls_uri
(
linphone_core_get_default_friend_list
(
pauline
->
lc
),
"sip:rls@sip.example.org"
);
linphone_friend_list_enable_subscriptions
(
linphone_core_get_default_friend_list
(
pauline
->
lc
),
TRUE
);
linphone_core_refresh_registers
(
pauline
->
lc
);
BC_ASSERT_TRUE
(
wait_for
(
pauline
->
lc
,
NULL
,
&
pauline
->
stat
.
number_of_LinphonePresenceActivityOnline
,
1
));
BC_ASSERT_EQUAL
(
pauline
->
stat
.
number_of_LinphonePresenceActivityOnline
,
1
,
int
,
"%d"
);
BC_ASSERT_EQUAL
(
linphone_presence_model_get_basic_status
(
linphone_friend_get_presence_model
(
friend2
)),
LinphonePresenceBasicStatusOpen
,
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