Commit graph

74 commits

Author SHA1 Message Date
Simon Morlat
16180e2430 change the way payload type numbers are assigned, so that an application can support more payload type than the RTP profile table allows to contain.
Compliance with RFC3264 (offer answer model) is improved, by reusing numbers in case of reINVITEs.
Fix memory leaks
Move offer/answer related tests into a new test suite.
2015-01-21 22:38:46 +01:00
Guillaume BIENKOWSKI
d9bc65287c Enable XML output for liblinphone tester 2014-12-15 11:10:44 +01:00
Ghislain MARY
b0f621ad13 Use real file for file upload test and check that the received file is the same as the sent one. 2014-12-11 11:40:28 +01:00
Ghislain MARY
099d846fbe Fix file transfer tests. 2014-12-10 16:52:56 +01:00
Guillaume BIENKOWSKI
85c7fa2773 Add an API to keep the accounts created on flexisip across calls to liblinphone_tester_run_tests(). This is used by iOS because of how the XCTest framework works. 2014-12-10 14:23:09 +01:00
Ghislain MARY
180de834ee Revert "Handle accounts manager to the Python module unit tests."
This reverts commit b61302f9b1.
2014-12-08 14:31:17 +01:00
Ghislain MARY
b61302f9b1 Handle accounts manager to the Python module unit tests. 2014-12-08 11:30:58 +01:00
Simon Morlat
93493976b3 tester automatically creates unique accounts on flexisip server before running tests. This allows several developer to run the test suite simultaneously ! 2014-12-01 15:25:54 +01:00
Gautier Pelloux-Prayer
96ca18f8db Finally fix the call paused resumed with loss test 2014-11-26 13:04:28 +01:00
Ghislain MARY
4ac1ccdf05 Handle the callbacks associated with a chat message directly in the LinphoneChatMessage object instead of in the LinphoneCore object. 2014-11-24 16:16:17 +01:00
Gautier Pelloux-Prayer
8846ca4780 Fix DTMF tests suite: when using SIP INFO, we should keep initial packets order 2014-11-21 14:45:16 +01:00
Gautier Pelloux-Prayer
0aabc05145 Add linphone_call_send_dtmfs method to allow sending a DTMF sequence instead of a single one, and add a test suite 2014-11-12 14:58:19 +01:00
Simon Morlat
3d744d4070 * add test for ipv6 calls
add linphone_call_media_in_progress() method for app to easily check that ice has finished or not its processing.
Update GTK app accordingly, so that adding video is no longer possible while ICE is in progress.
2014-11-07 18:02:29 +01:00
Gautier Pelloux-Prayer
abe5a19431 Do not crash if SDP could not be parsed and had some unit tests. - avoid crash if missing SDP in REINVITE ACK - resume previous media parametrs instead of aborting call in case of invalid SDP in REINVITE 2014-11-06 17:25:36 +01:00
Gautier Pelloux-Prayer
d67957ab2a Add log collection tester suite 2014-11-04 17:12:17 +01:00
François Grisez
4fc7ef7a0b Fix compilation 2014-10-20 16:33:50 +02:00
Simon Morlat
965add9d6e add new states LinphoneCallEarlyUpdating and LinphoneCallEarlyUpdatedByRemote to properly handle the early dialog UPDATE scenarios.
fix test suite.
2014-10-20 15:10:40 +02:00
François Grisez
2acee668ae Add a tester for the media file player 2014-10-02 16:44:14 +02:00
Simon Morlat
c54e3af5e0 add tester for call player 2014-09-22 16:33:25 +02:00
Jehan Monnier
251ba960c5 add new functions linphone_core_add_listener to enable multiple vtable to be registered 2014-09-16 15:00:12 +02:00
Gautier Pelloux-Prayer
e5522d62ef Add transport tests (tunnel only and tunnel + srtp) 2014-09-08 14:20:31 +02:00
Jehan Monnier
528f2e1582 fix android liblinphone_tester_fprintf 2014-08-04 09:42:09 +02:00
Jehan Monnier
113dece9cc fix liblinphone android tester 2014-08-04 09:07:28 +02:00
Jehan Monnier
a21d7d863d improve message tester 2014-07-01 22:00:50 +02:00
Johan Pascal
58530de9bb File transfer : add test for I/O error 2014-06-26 00:45:53 +02:00
Gautier Pelloux-Prayer
10d1411f87 Quality reporting: separate unit tests in a different file and fix mid term session report 2014-06-10 15:50:41 +02:00
Johan Pascal
3c918dfd8b Merge branch 'master' of git.linphone.org:linphone into dev_filetransfer 2014-06-09 13:40:06 +02:00
Johan Pascal
e98ad8e4a6 Add test for file transfer to liblinphone tester 2014-06-08 23:27:03 +02:00
Gautier Pelloux-Prayer
ff6cbfc0f3 Display available tests if the given one is not existing 2014-06-05 16:59:28 +02:00
Guillaume BIENKOWSKI
038bebdcc9 Add a writable prefix variable for the tester. This will allow mobile unit tests to pass the message storage tests 2014-06-02 14:15:49 +02:00
Guillaume BIENKOWSKI
1293b195bd Add API to change the file prefix programatically in linphone tester 2014-05-28 17:06:58 +02:00
Jehan Monnier
43aa6ef34f change encryption state management 2014-04-17 16:22:49 +02:00
Simon Morlat
ee970aec3e improve time checking in test suite 2014-03-12 17:29:00 +01:00
Guillaume BIENKOWSKI
042729508a Missing userhostsfile reference 2014-03-04 15:38:20 +01:00
Guillaume BIENKOWSKI
e112161ec3 Separater main() from lib functions in the tester 2014-03-04 15:28:12 +01:00
Guillaume BIENKOWSKI
b85a51105a Split the tester in two components: liblinphonetester.la and the executable liblinphone_tester .
This will ease iOS usage (and probably others).
2014-03-04 12:27:57 +01:00
Guillaume BIENKOWSKI
6f819de177 Preliminary work for tester compilation for iOS 2014-03-03 14:54:10 +01:00
Sylvain Berfini
f76c0ead31 Improved remote provisioning code + added test suite for it 2014-02-12 17:21:22 +01:00
Guillaume BIENKOWSKI
1c5111a355 Add basic STUN tests 2014-02-07 14:33:01 +01:00
Simon Morlat
3c47f01e84 add flexisip test suite 2014-02-05 15:00:42 +01:00
Jehan Monnier
0eef5c5ecb rework behavior for 403/401/407 auth failure to avoid loop and make sure retry are always done 2014-01-30 16:18:38 +01:00
Ghislain MARY
3e09aff605 Add unit test for RFC3994: is-composing notification. 2014-01-10 11:26:39 +01:00
Simon Morlat
95e3f26dca implement manual mode refresher for generic subscribe 2013-12-13 10:22:28 +01:00
Simon Morlat
811b453d06 add a domain parameter in LinphoneAuthInfo, to workaround non-unicity of realm in real world. 2013-11-04 15:00:50 +01:00
Jehan Monnier
a5c40facf6 add tests to make sure unsuccesfull incall transactions do not abort the call. 2013-10-11 10:31:56 +02:00
Ghislain MARY
41d60df070 Normalize event callbacks names. 2013-10-09 14:13:11 +02:00
Jehan Monnier
71f81ce6ec improve rtcp checking speed 2013-09-24 16:28:50 +02:00
Simon Morlat
fed415507f enhance event API to be notified of publish states.
lp-gen-wrappers is in progress
2013-09-17 14:03:52 +02:00
Simon Morlat
9a671657c6 make use of bellesip's new dialog's request queue to fix bugs around transfer notification
add notification of failed transfers (new test in call suite for that)
In case of failed transfer, referer call is resumed (if necessary) and notified of the failure.
remove deprecated code.
2013-09-03 22:34:04 +02:00
Ghislain MARY
ee35e8e413 Remove linphone_friend_set_presence_model() and make linphone_friend_get_presence_model() return a const pointer because the user should not be able to change his friends' presence. 2013-06-25 09:58:20 +02:00