Commit graph

513 commits

Author SHA1 Message Date
Gautier Pelloux-Prayer
8be032a9df Fix compilation 2014-12-17 12:17:40 +01:00
Guillaume BIENKOWSKI
f16696d242 Update file player test to take in account the new hello8000 duration 2014-12-16 10:47:42 +01:00
Guillaume BIENKOWSKI
e22eb31deb Remove unused variable 2014-12-16 10:42:01 +01:00
Guillaume BIENKOWSKI
b0459fd16c Lengthen the hello8000 to accomodate slow devices where 10s sound might be too short for bandwidth measurement 2014-12-16 10:30:43 +01:00
Guillaume BIENKOWSKI
60c5edf397 Factor check_file in tester and fix last log time check 2014-12-15 17:01:12 +01:00
Guillaume BIENKOWSKI
5128769b00 Typo 2014-12-15 16:02:58 +01:00
Guillaume BIENKOWSKI
bb6123477b Allow for longer timeout in register 2014-12-15 15:56:06 +01:00
Guillaume BIENKOWSKI
da9cffd5fe Use ms_time() instead of time() 2014-12-15 15:56:06 +01:00
Guillaume BIENKOWSKI
697a6d4a89 Fix the soundcard hint so that it trigger only when _all_ calls are paused or pausing (instead of just one call suffice). Also increase the test delay. 2014-12-15 14:49:42 +01:00
Guillaume BIENKOWSKI
3e56dcac16 Remove (now) unneeded use_files and fix the way we manage use_files in the linphone_core_manager to include a ringback tone 2014-12-15 12:36:27 +01:00
Guillaume BIENKOWSKI
04a66a165c Fix lpconfig test on read-only storage 2014-12-15 12:33:57 +01:00
Guillaume BIENKOWSKI
d9bc65287c Enable XML output for liblinphone tester 2014-12-15 11:10:44 +01:00
Simon Morlat
4292c1fc15 fix compilation errors 2014-12-12 17:02:52 +01:00
Simon Morlat
a6da440cfd add test to check absence of SDP in ACK in a scenario of INVITE without SDP. 2014-12-12 16:46:37 +01:00
Guillaume BIENKOWSKI
84e3d60838 fix the tests for ios 2014-12-11 17:39:47 +01:00
Ghislain MARY
24f4d44496 There is no longer a dummy call to the file_transfer_recv callback at the beginning of a file download. 2014-12-11 14:34:45 +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
Guillaume BIENKOWSKI
e568e7e21d Don't use 'tester' audio unit in iOS, since linphone is now intelligent enough to not kill the audio unit in between ringing and actual call. This allows tests to run more closely to the real soudncard usage 2014-12-10 17:33:36 +01:00
Ghislain MARY
099d846fbe Fix file transfer tests. 2014-12-10 16:52:56 +01:00
Guillaume BIENKOWSKI
dc78b3fe8a Skip file-based remote provisioning for iPhone, it is quite complicated to implement 2014-12-10 14:23:10 +01:00
Guillaume BIENKOWSKI
77aaf5bb8c Automatically use cores with file-backed sound in the tester for iOS. A lot of tests were missing linphone_core_user_files() calls, so having them automatically set up is easier. 2014-12-10 14:23:09 +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
6b2be053e9 Improve change of identity of a proxy config.
- Add the function linphone_address_equal().
- The comparison of two proxy config addresses now returns one of these three values: equal, weak-equal or different.
- If the new proxy config identity is equal to the previous one, a call to linphone_proxy_config_done() does not
unregister and does not delete the sal op. If it's weak-equal the sal op is destroyed but the unregister is not
done. Finally, if it's different the unregister is performed and the sal op is destroyed.
2014-12-09 10:14:33 +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
bebf7992e5 wait a bit more 2014-12-08 09:36:04 +01:00
Jehan Monnier
1656945e31 make sure send/received bw is acurate in early_media_call_forking tester 2014-12-05 15:34:58 +01:00
Jehan Monnier
1cd616cf17 add --selfttest option to gtk app for very minimal app checking 2014-12-05 14:20:24 +01:00
Gautier Pelloux-Prayer
570ed0f598 Invert check order in log collection because file checking consumes lot of time 2014-12-04 15:55:37 +01:00
Guillaume BIENKOWSKI
b8e643f7b1 Fix reinvite in case of redirection: we should use the linphone_core_restart_invite function, which correctly handles the streams close/reopen 2014-12-03 12:29:03 +01:00
Sylvain Berfini
b58f23ecef Fix tester by adding prefix for files in accountmanager 2014-12-03 10:35:10 +01:00
Jehan Monnier
7ce476ffb0 fix memory leak in case Message tests are passed in sequence 2014-12-02 15:17:34 +01:00
Simon Morlat
f8d7cdfdad fix problem when port is set to a TLS port only 2014-12-02 11:27:43 +01:00
Simon Morlat
b9b8166ad8 fix tester, update oRTP for bugfixes 2014-12-02 11:16:29 +01:00
Ghislain MARY
65283e00ee Add compilation of accountmanager.c when building with CMake. 2014-12-01 16:25:13 +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
François Grisez
ea4c24e84e Fix "Player/Local MKV file" liblinphone's tester 2014-11-28 16:33:10 +01:00
François Grisez
d4d0781897 Fix "Call/Call with mkv file player" tester when opus is not supported by mediastreamer2 2014-11-28 15:07:27 +01:00
François Grisez
80def19f58 Remove the recording file when similarity is higher than threshold 2014-11-27 10:03:34 +01:00
François Grisez
15dcfa4071 Fix "Call/Call with file player" tester 2014-11-26 16:49:47 +01:00
Ghislain MARY
8ace78e2f8 Handle compilation of unit tests with CMake. 2014-11-26 16:38:39 +01:00
Guillaume BIENKOWSKI
a3f728d84a Test the history range function thoroughly 2014-11-26 13:53:19 +01:00
Guillaume BIENKOWSKI
06de47db2e Fix a special case in message history retrieval.
This function is not yet completely tested,
2014-11-26 13:53:19 +01:00
Gautier Pelloux-Prayer
96ca18f8db Finally fix the call paused resumed with loss test 2014-11-26 13:04:28 +01:00
Gautier Pelloux-Prayer
39f1f11d74 Remove useless grep in completion script 2014-11-26 11:38:42 +01:00
Gautier Pelloux-Prayer
a197741416 Fix completions script when suites have spaces 2014-11-25 16:59:08 +01:00
Gautier Pelloux-Prayer
5aeb75c917 Update completions script to handle properly commads with arg 2014-11-25 16:21:23 +01:00
Gautier Pelloux-Prayer
1d75349823 Update ms2 and remove debug test 2014-11-25 15:37:11 +01:00
Gautier Pelloux-Prayer
c0e80d83d8 Clean paused resumed test to ease readibility 2014-11-25 15:31:29 +01:00
François Grisez
660d800839 Make the call recording testers to remove the record file after testing 2014-11-25 14:05:29 +01:00