Commit graph

50 commits

Author SHA1 Message Date
Sylvain Berfini
e4c70dd7ad Added test for video bandwidth estimator 2017-05-22 17:32:09 +02:00
Ghislain MARY
a8418666e4 Fix deprecation warnings. 2017-03-20 11:15:26 +01:00
Ghislain MARY
6a9b199af6 Remove a lot of deprecation warnings. 2017-03-17 17:49:45 +01:00
Simon Morlat
97600a4bf2 Adapt some unstable tests. 2017-02-10 14:28:41 +01:00
Simon Morlat
9949784c2d fix unreliable tests 2017-02-06 21:58:34 +01:00
Simon Morlat
cc4966a130 fix bug in quality indicator and optimize quality reporting (avoid full copies of structures) 2017-02-04 17:52:57 +01:00
Simon Morlat
656ff43b13 fix most common warnings 2017-01-14 14:13:26 +01:00
Ghislain MARY
33b72ce6b5 Move public header files in the include/linphone directory. 2016-11-15 14:41:18 +01:00
Simon Morlat
15f5ac08d0 give more time to send publish 2016-11-05 21:59:00 +01:00
Simon Morlat
8f9ae2198a fix potential memory leak 2016-10-14 14:30:12 +02:00
Ghislain MARY
300c8b8737 Fix build for Windows 10. 2016-07-04 15:20:13 +02:00
Ghislain MARY
400404fc2a Replace MSList by bctbx_list_t in tools and tester. 2016-06-16 18:32:21 +02:00
Ghislain MARY
c13647f8bd Treat warnings as errors on Windows. 2016-06-16 12:23:53 +02:00
Ghislain MARY
142891969e Add possibility to assiocate tags with tests and to run the only the tests corresponding with a specific tag with the --tag option. 2016-01-27 15:04:47 +01:00
Sandrine Avakian
2a3495cd4a Fixing omitted ifdef VIDEO_ENABLED missing. 2015-11-27 10:21:15 +01:00
Sandrine Avakian
8d605739a9 Adding ifdef VIDEO ENABLED for tests :
"Session report sent if video stopped during call", quality_reporting_session_report_if_video_stopped
 "Interval report if interval is configured with video and realtime text", quality_reporting_interval_report_video_and_rtt
2015-11-26 16:17:51 +01:00
Simon Morlat
3d7bbb5bd5 remove linphone_core_create_default_call_parameters() because this function is dangerous and error prone.
Indeed, it cannot guarantee that the created call params are compatible with the call being accepted or updated.
For doing an outgoing call there is no problem in using it but linphone_core_create_call_params() is better and hard to mis-use.
2015-10-31 12:00:28 +01:00
Gautier Pelloux-Prayer
af28361f22 fix compilation 2015-10-21 15:54:07 +02:00
Gautier Pelloux-Prayer
12930e3322 quality_reporting_tester.c: remove test for Adaptive Algorithm part of reports since it cannot be done reliably 2015-10-21 15:44:34 +02:00
Sylvain Berfini
abca8ffbe0 More changes on quality reporting for text + fix mistake in previous commit 2015-10-20 12:23:54 +02:00
Sylvain Berfini
b965a62509 Added quality reporting test on call with audio, video and text 2015-10-20 11:27:19 +02:00
Ghislain MARY
c149a6da7e Add API to handle custom SDP attributes. 2015-10-07 10:55:10 +02:00
Ghislain MARY
90427700c2 Fix compilation warnings when building tester for Windows 10. 2015-10-01 15:33:24 +02:00
Simon Morlat
89861d69e4 fix tests 2015-09-23 16:31:16 +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
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
Gautier Pelloux-Prayer
fd7f6a4c73 tester: fix quality reporting with custom route test when using tunnel 2015-08-05 15:11:16 +02:00
François Grisez
24e637c865 Fix regretion of linphone_core_interpret_url()
It didn't use anymore the default proxy config to interpret urls without domain name.
For instance, NULL was returned when passing "pauline" as parameter even if a default
proxy config had been declared.

An assert has also been added in "QualityReporting/Call term session report not sent if call did not start"
to handle the case when linphone_core_invite() return NULL
2015-07-20 12:22:20 +02:00
Gautier Pelloux-Prayer
8dace48590 quality_reporting_tester.c: speed up interval test 2015-07-06 16:14:41 +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
4c9c51ca3d Quality reporting: add test for custom route PUBLISH 2015-06-22 14:37:31 +02:00
Gautier Pelloux-Prayer
1c6fe4dc83 Quality reporting: collector address is now route address of the PUBLISH - if set to NULL, PUBLISH will be sent to proxy config domain 2015-06-22 12:11:41 +02:00
Gautier Pelloux-Prayer
2b016a4318 quality_reporting.c: remove debug log and refactorize a bit 2015-05-28 17:13:44 +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
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
Gautier Pelloux-Prayer
86863cd089 quality_reporting_tester.c: Fix "Interval report if interval is configured" test by resetting RTCP SR count at each report 2015-04-28 14:25:19 +02: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
Gautier Pelloux-Prayer
0aabc05145 Add linphone_call_send_dtmfs method to allow sending a DTMF sequence instead of a single one, and add a test suite 2014-11-12 14:58:19 +01:00
Gautier Pelloux-Prayer
a12c07a3ab Fix quality reporting test: since qos analyzer now use a minimum interval time, we have to add some extra delay 2014-11-07 16:01:24 +01:00
Gautier Pelloux-Prayer
acaba57bdb Free resources on quality reporting test end and fix invalid reads if call failed 2014-09-22 14:22:57 +02:00
Gautier Pelloux-Prayer
d76cb1342b Fix quality report test order 2014-09-22 09:49:11 +02:00
Gautier Pelloux-Prayer
34cce12c23 Quality reporting: quote adaptive algo data and add unit test for bad formatted reports 2014-06-18 15:01:08 +02:00
Gautier Pelloux-Prayer
d4f2c4a099 Quality reporting: fix unit test segfault in case of invalid mediastream pointer 2014-06-16 15:52:06 +02:00
Gautier Pelloux-Prayer
929bc9744d Quality reporting: add on_report_send callback to check reports content in unit tests 2014-06-13 11:33:03 +02:00
Gautier Pelloux-Prayer
03b2dade14 Quality reporting: do not send reports on low bandwidth connections 2014-06-12 09:27:00 +02:00
Gautier Pelloux-Prayer
dba8b0de56 Quality reporting: add decisions' timestamp in adaptive algorithm section and fix on_action_suggested callback setting 2014-06-11 14:37:36 +02:00
Simon Morlat
509474e4a5 fix compilation warning 2014-06-10 19:39:11 +02:00
Gautier Pelloux-Prayer
10d1411f87 Quality reporting: separate unit tests in a different file and fix mid term session report 2014-06-10 15:50:41 +02:00