Commit graph

45 commits

Author SHA1 Message Date
Benjamin Reis
dc32007bab Fix tests presence using server 2017-06-12 12:01:51 +02:00
Benjamin Reis
55015b5bd7 Fix test to not pertubate other tests 2017-06-09 16:47:30 +02:00
Benjamin Reis
329821b549 Use tls if enabled in presence tests 2017-06-01 13:50:30 +02:00
Benjamin Reis
10055ddd96 add tests for presence 2017-06-01 10:22:11 +02:00
Benjamin Reis
6ffb8dbd31 allow different transports to a test 2017-05-23 09:58:11 +02:00
Benjamin Reis
8e6f7b0bc3 add multible publish aggregation test 2017-05-22 17:04:26 +02:00
Ghislain MARY
c979eeaa34 Rework presence to remove online and offline virtual activities and introduce consolidated presence. 2017-03-17 14:51:23 +01:00
Benjamin Reis
0f45a2acee Fix : presence re-created after network changes + corresponding test 2017-02-16 14:23:04 +01:00
Simon Morlat
9949784c2d fix unreliable tests 2017-02-06 21:58:34 +01:00
Sylvain Berfini
bbfaea6660 Removed test commited by error 2017-01-27 10:11:02 +01:00
Sylvain Berfini
f92de2825e Improved performances of presence server list notify 2017-01-23 10:45:13 +01:00
Simon Morlat
656ff43b13 fix most common warnings 2017-01-14 14:13:26 +01:00
Ghislain MARY
5fd0fe2583 Fix some english mistakes. 2017-01-13 14:57:02 +01:00
François Grisez
85b5ca097a Reworking of Liblinphone API
* Introduction of LinphoneFactory singleton class to create
  core-independent object like LinphoneAddress or LinphoneVcard.
* Make several C structures inherite from belle_sip_object_t class:
	* LinphoneCore
	* LinphoneVcard
	* LinphoneAuthInfo
* Creation of the LinphoneCoreCbs class that enable to store the
  callbacks used by LinphoneCore.
2017-01-12 17:47:01 +01:00
Jehan Monnier
a5361924f2 add unit tests 2017-01-11 14:39:22 +01:00
Simon Morlat
2ad32695a5 adjust timers and document a test that tends to fail sometimes. 2016-12-13 22:26:19 +01:00
Simon Morlat
83983ae9ac fix race condition in test. Indeed, the SUBSCRIBE is refreshed after the 40 seconds inactivity period, which allows the new presence test to be received. 2016-12-09 18:03:13 +01:00
Simon Morlat
ea13fcfe5a Fix test: the loop for creating a random phone number was incorrect and potentally left an invalid character at the end. 2016-11-25 18:20:44 +01:00
Jehan Monnier
b8c40dc110 improve friend.find_presence_model_for_uri_or_tel, fix core.interpretUrl to normalize both phones and usernames 2016-11-16 09:04:57 +01:00
Ghislain MARY
33b72ce6b5 Move public header files in the include/linphone directory. 2016-11-15 14:41:18 +01:00
Jehan Monnier
de4b77f54e make sure normalized phone numbers are computed for each new subscription to take into account potentiel proxy config changes. 2016-11-15 09:27:02 +01:00
Simon Morlat
0e06d9b968 fix test (adjust waits to take into account that dialog expiration doesn't trigger a new refresh (we let the SUBSCRIBE transaction timeout to trigger a new one instead). 2016-11-04 23:22:28 +01:00
Simon Morlat
516508756d skip tests that require vcard 2016-10-18 12:00:52 +02:00
Simon Morlat
450823d634 fix tests 2016-10-14 14:04:39 +02:00
Jehan Monnier
0d2d98fb9c fix tester, make sure publish status is arrived before destroying linphone core. 2016-10-13 09:07:40 +02:00
Simon Morlat
0be87c5c24 don't send register when nothing has changed. 2016-10-08 09:13:57 +02:00
Simon Morlat
f9aee35116 heavy rework of lists, presence list subscriptions, and fix many memory leaks 2016-09-22 22:10:36 +02:00
Gautier Pelloux-Prayer
26096fd394 tester: fix 2016-08-29 16:13:46 +02:00
Gautier Pelloux-Prayer
43a1a994eb tester: add one more failing test 2016-08-05 15:41:30 +02:00
François Grisez
8b6e955fb5 Fix ISO C90 violation 2016-08-04 16:10:41 +02:00
Gautier Pelloux-Prayer
19384ed6de tester: fix presence tests 2016-08-04 12:07:06 +02:00
Gautier Pelloux-Prayer
b3ab985b0a tester: update presence tests 2016-08-02 14:30:38 +02:00
Ghislain MARY
dd36939023 Fix some memory leaks. 2016-07-29 15:36:19 +02:00
Ghislain MARY
fb04d71445 Test association of SIP URI and phone number in presence server tester. 2016-07-29 11:09:45 +02:00
Ghislain MARY
0f516ab168 Fix compilation warning. 2016-07-22 17:12:40 +02:00
Gautier Pelloux-Prayer
d7a62cf978 tester: add phone alias for test accounts 2016-07-22 10:58:38 +02:00
Gautier Pelloux-Prayer
e532736526 tester: add presence with phone alias test 2016-07-19 11:56:43 +02:00
Gautier Pelloux-Prayer
2e13870a54 tester: do not gather logs when creating test account, that pollute output too much for something we don't care about
This reduces logs from 800K lines to 300K lines for the whole suite. Fair enough.
2016-07-12 13:44:06 +02:00
Ghislain MARY
400404fc2a Replace MSList by bctbx_list_t in tools and tester. 2016-06-16 18:32:21 +02:00
Gautier Pelloux-Prayer
0d0ecca305 presence_server: fix memory leaks 2016-04-29 16:40:49 +02:00
Jehan Monnier
73207c0b52 improve presence tester reliability 2016-04-27 18:27:29 +02:00
Gautier Pelloux-Prayer
ae69575bb3 presence_server_tester.c: fix previous commit 2016-04-26 15:49:44 +02:00
Gautier Pelloux-Prayer
0d298a1c4e friendlist.c: enable subscription by default 2016-04-26 15:32:05 +02:00
Jehan Monnier
11809fffc8 improve presence server tester 2016-04-25 14:29:23 +02:00
Gautier Pelloux-Prayer
282f417d95 tester: split presence tests in two: peer to peer tests and with server tests 2016-04-21 13:53:31 +02:00