Commit graph

108 commits

Author SHA1 Message Date
François Grisez
3f1d66d104 Fix removing one participant tester 2016-01-06 16:38:19 +01:00
François Grisez
88d0c8ef9e Add a test testing the establishment of a conference based on a focus server 2015-12-17 10:42:58 +01:00
Simon Morlat
6a9247d6f6 fix compilation issues and bugfix in tests 2015-11-25 14:53:22 +01:00
Jehan Monnier
262575f921 fix ice destination change in case of call with rtp-mux 2015-11-25 10:30:31 +01:00
Ghislain MARY
cafb1dfa3e Fix strict-prototypes warnings. 2015-11-20 17:56:11 +01:00
Jehan Monnier
cb0bbf3146 move check_ice from liblinphone_tester.c to tester.c 2015-11-19 17:36:00 +01:00
Simon Morlat
933a75d873 fix crash when the liblinphone_tester is executed several time in the same process 2015-10-30 18:02:38 +01:00
Gautier Pelloux-Prayer
a4b116d4e4 tester: do not use BC_ASSERT_EQUAL macro to check leaks to avoid false positive in CUnit report 2015-10-23 16:12:48 +02:00
Simon Morlat
08d0a6089c automatically close call during early states when the initiating transaction is closed prematurely (network disconnection for example).
add new tests for this.
2015-10-18 17:21:32 +02:00
Sylvain Berfini
948b91251d Use voice playback soundcard for bb10 liblinphone tester 2015-10-15 14:16:31 +02:00
Ghislain MARY
90427700c2 Fix compilation warnings when building tester for Windows 10. 2015-10-01 15:33:24 +02:00
Gautier Pelloux-Prayer
24687ecbe9 message_tester.c: abort test if message has not been received, fix crash and reformat it 2015-09-24 14:52:04 +02:00
Gautier Pelloux-Prayer
879e017e1e tester: update bc_tester_utils and fix some tests - disable stderr for sipp because corrupting output is not great at all 2015-09-23 14:09:52 +02:00
Simon Morlat
d70c110d81 don't call abort(). abort() is for when there is no hope to be able to continue. 2015-09-22 23:07:04 +02:00
Simon Morlat
76263deaff fix crash in linphone_core_destroy() when releasing the chat rooms while belle_sip_provider_t no longer exists, and fix many memory leaks 2015-09-22 22:43:31 +02:00
Gautier Pelloux-Prayer
461876a9a3 chat.c: split chat and file transfer in 2 files and fix various memory leaks 2015-09-22 14:03:26 +02:00
Gautier Pelloux-Prayer
8a2f20ceae tester: add before_each / after_each methods to check memory leaks and fix various ones 2015-09-22 13:54:29 +02:00
Gautier Pelloux-Prayer
b1ae7bf028 tester: add before_each and after_each functions to allow init/cleanup of tests individually 2015-09-17 11:06:35 +02:00
Jehan Monnier
7002270d63 add SIPP based tests 2015-09-16 17:24:49 +02:00
Gautier Pelloux-Prayer
fdf5abefd6 chat: refactoring it to always invoke callbacks when changing state, reenable disabled tests and add two new file upload tests where liblinphone should not crash while it does currently 2015-09-16 16:08:11 +02:00
Simon Morlat
1f887db632 adapt to new MSAudioDiff api 2015-09-11 14:48:56 +02:00
Simon Morlat
0d87a22d1d fix bugs in Paused state management. It was possible to transition from Paused to PausedByRemote, which actually breaks the Paused state, and eventually allows the pauser to be resumed by the paused. 2015-09-03 21:39:58 +02:00
Gautier Pelloux-Prayer
fd7f6a4c73 tester: fix quality reporting with custom route test when using tunnel 2015-08-05 15:11:16 +02:00
Gautier Pelloux-Prayer
4ade5326e1 tester: replace some BC_ASSERT_TRUE with better BC_ASSERT_LOWER/GREATER/EQUAL ones 2015-08-05 11:42:51 +02:00
Simon Morlat
a3c33f5036 fix build and robustize tests 2015-08-02 11:31:32 +02:00
Gautier Pelloux-Prayer
d9f41fff5a proxy config: modify linphone_proxy_config_get_contact and add linphone_proxy_config_get_identity_address returning LinphoneAddress and move all documentation to linphone_proxy_config.h 2015-07-29 13:26:53 +02:00
Jehan Monnier
6950e53767 fix compilation issue 2015-07-17 10:55:11 +02:00
Jehan Monnier
902c705954 always call linphone_core_set_play_file in tester manager to make sure something is played in pause state 2015-07-17 10:49:20 +02:00
Gautier Pelloux-Prayer
240818afd8 tester: crosscorrelation tests now use a 1 sec wav input so that it lasts only 10 sec, not 355 sec. 2015-07-07 11:28:09 +02:00
Ghislain MARY
03d71b27e4 Add tester for Windows 10. 2015-07-06 11:35:18 +02:00
Gautier Pelloux-Prayer
16210996e6 tester.c: oops fix hello8000.wav path 2015-07-03 16:41:24 +02:00
Gautier Pelloux-Prayer
3f86b78b2a tester: update common and display test duration and fix some non removed core managers 2015-07-02 17:04:25 +02:00
Gautier Pelloux-Prayer
369d675171 tester: check that no linphone core exists before each test fixing crash on iOS 2015-07-01 15:49:47 +02:00
Gautier Pelloux-Prayer
b165d67571 tester: use CU_ASSERT_EQUAL instead of CU_ASSERT_TRUE for objects leaked and fix memory leaks in transport_supported helper 2015-06-22 13:28:05 +02:00
Gautier Pelloux-Prayer
da2c63a6a9 tester: change transport_supported to not take linphonecore argument since we dont need it 2015-06-22 11:56:26 +02:00
Simon Morlat
f336bed4e6 new test for opus stereo vs mono
add option to tester so that it can keep recorded files, which is useful for developing new tests
2015-06-18 15:08:40 +02:00
Gautier Pelloux-Prayer
6b134f5a33 proxy config: add tests for phone number normalization and fix API accordingly 2015-05-22 16:11:49 +02:00
Jehan Monnier
9f68e464ed Trying to improve test checking on bandwidth by using max value out of last 3 instead of last value only 2015-05-22 08:46:38 +02:00
Gautier Pelloux-Prayer
03287d93cf tester: do not execute TLS tests when it is not available, and avoid using TLS when it is not necessary 2015-05-21 11:28:12 +02:00
Simon Morlat
5c7d1f0396 add test for stereo support with opus 2015-05-15 00:35:01 +02:00
Gautier Pelloux-Prayer
2fced27fe9 tester: use new macros instead of CUnit ones to get better error logs 2015-05-13 17:38:19 +02:00
Simon Morlat
a74ded3be6 fix audio-only build 2015-03-26 14:57:13 +01:00
Jehan Monnier
e629259d3f set linphone_core_set_user_certificates_path to bc_tester_writable_dir_prefix for tester 2015-03-26 11:33:08 +01:00
Simon Morlat
31f304b9d0 fix crash when attempting to change the camera for video stream that is not started 2015-03-24 21:29:46 +01:00
Jehan Monnier
15b915e036 -No longer rewrite callparams->has_video, but use dedicated params to save offers answer result regarding video
-Invoke FIR in method linphone_core_send_vfu_request
-Invoke CallStatsUpdated even in case of scheduled updates
-Fix media direction in case of paused/resumed with paused by « inactive »
2015-03-23 12:49:31 +01:00
Gautier Pelloux-Prayer
88a7287ba7 tester.c: remove duplicate definition 2015-03-18 11:42:08 +01:00
Gautier Pelloux-Prayer
acf3bb287d tester: add test/suite getters for iOS tester and reorganize code a bit 2015-03-18 10:58:12 +01:00
Sylvain Berfini
9fff00eef2 Improved tester and fixed flexisip file transfer message rewrite test 2015-03-17 13:17:02 +01:00
Gautier Pelloux-Prayer
0887089bc6 Tester: continuing 2015-03-13 13:55:32 +01:00
Jehan Monnier
af6db9e6cb add offers/answers test for DTLS 2015-03-11 08:36:00 +01:00