Commit graph

87 commits

Author SHA1 Message Date
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
Simon Morlat
1435afd94a repair build, again.
update ms2 to fix linux/arm compilation which was broken.
2015-03-01 22:12:54 +00:00
Jehan Monnier
79dc7a2a41 split Call suite into Single call & Multi call 2015-02-27 18:28:15 +01:00
Jehan Monnier
65734e818d move android lock mgt to call state cb 2015-02-25 12:22:47 +01:00
Simon Morlat
f98d1f4fca fix crash 2015-02-20 19:35:40 +01:00
Jehan Monnier
ea0aecc8a7 keep tester recorded files in case of test failure 2015-02-20 16:14:09 +01:00
Simon Morlat
4b2969559b update ms2, add message processing loop for windows 2015-02-14 15:31:41 +01:00
Gautier Pelloux-Prayer
0e22f1b6cc Fix Android liblinphone_tester compilation 2015-02-13 10:32:22 +01:00
Gautier Pelloux-Prayer
807bcbbfa3 Fix memory leak 2015-02-11 16:30:49 +01:00
Jehan Monnier
06fc0526ec multicast impl 2015-02-04 12:17:14 +01:00
Ghislain MARY
54f3cd52db Add video tester that creates its own GTK windows for video display. 2015-02-04 10:38:00 +01:00
Simon Morlat
53bc2cd5a0 add tests to check sips and ipv6 support of flexisip 2015-02-02 18:13:55 +01:00
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
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
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
d9bc65287c Enable XML output for liblinphone tester 2014-12-15 11:10:44 +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
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
Jehan Monnier
7ce476ffb0 fix memory leak in case Message tests are passed in sequence 2014-12-02 15:17:34 +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