Commit graph

491 commits

Author SHA1 Message Date
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
François Grisez
7563118143 Fix Player/Playing test for Android 2014-11-21 15:10:19 +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
Ghislain MARY
9cabfe37dd A LinphoneContent object now owns all its data fields including the buffer.
A normal LinphoneContent object will now copy the data from the given buffer when calling linphone_content_set_buffer().
However LinphoneContent objects converted from LinphoneContentPrivate structures do not own its data fields.
2014-11-20 17:27:26 +01:00
Ghislain MARY
35189535a7 Convert LinphoneContent from a simple struct to a belle-sip object to ease generation of wrappers. 2014-11-18 16:42:16 +01:00
Simon Morlat
2e515642f0 fix bad call state notification (Released) when receiving a call with incompatible codecs.
Normally this should not trigger any notification.
Fix bug allowing two incoming calls to be notified if ICE is used.
2014-11-18 16:01:51 +01:00
Jehan Monnier
9db4ae276b fix direct_call_over_ipv6 on Android 2014-11-18 14:40:05 +01:00
Simon Morlat
d0095948b9 Allow the tunnel mode to work with any proxy config (except for sips destinations)
fix the tunnel tests, that were not working correctly.
2014-11-14 20:17:54 +01:00
Ghislain MARY
916a3e8e02 Fix compilation of message tester. 2014-11-14 16:06:02 +01:00
Simon Morlat
9816594653 store ipv6 setting in config immediately 2014-11-13 22:40:04 +01:00
Jehan Monnier
0d4f9e0c92 fix tester Flexisip/Subscribe forking 2014-11-13 09:13:13 +01:00
Gautier Pelloux-Prayer
d249550e0a Fix log collection test suite for Android 2014-11-12 15:33:23 +01:00