Commit graph

502 commits

Author SHA1 Message Date
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
Jehan Monnier
2d70a8120c flush liblinphone tester traces 2014-11-25 11:23:33 +01:00
Jehan Monnier
705ace0470 test to get stout working on buildbot 2014-11-25 10:19:30 +01:00
Jehan Monnier
496f4a920c add $(TEST_OPTIONS) to liblinphone tester make file 2014-11-25 09:08:26 +01:00
Jehan Monnier
b393ffef15 introduce a new option to put liblinphone tester traces into a file (I.E --log-file <filename>) 2014-11-25 09:01:30 +01:00
Gautier Pelloux-Prayer
0ea7c35b89 Use correct exectuable name and fill test/suite name too 2014-11-24 16:55:48 +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
Jehan Monnier
e16e04567a better fix for Call/Direct call over IPv6 on Android 2014-11-24 14:11:04 +01:00
Gautier Pelloux-Prayer
c377906553 Add autocompletion feature, simply source this file to enable it for bash and zsh shells 2014-11-24 12:29:35 +01:00
Guillaume BIENKOWSKI
4505528f3b Update tester to preset the dynamic resource path before setting up the linphone core. This prevents error messages while testing on iOS 2014-11-24 11:53:43 +01:00
François Grisez
3cb94ab1e5 Fix 'Player/Local MKV file' test 2014-11-24 10:18:08 +01:00
Gautier Pelloux-Prayer
c1f324d0d6 Rename Playing test and fix compilation 2014-11-21 16:57:22 +01:00