Commit graph

860 commits

Author SHA1 Message Date
Gautier Pelloux-Prayer
f0bd070bc2 chat: fix some crashing tests and disable the others for now 2015-09-17 17:16: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
d97218faa0 fix compilation issue 2015-09-16 21:14:40 +02:00
Jehan Monnier
3213356683 add missing sipp scenario 2015-09-16 17:36:05 +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
Sylvain Berfini
879dd2cb2f Merge branch 'dev_call_logs_sql' 2015-09-14 17:11:17 +02:00
Simon Morlat
936f50d409 adapt thresholds 2015-09-14 13:56:14 +02:00
Simon Morlat
6da0a7ab1b modify vroom.wav to be more sensitive at cross correlation when transformed to mono.
Adapt thresholds accordingly.
2015-09-14 13:51:59 +02:00
Simon Morlat
c6a712eaf9 enhance a few asserts 2015-09-13 16:28:11 +02:00
Simon Morlat
1e86c8367f fix dangerous calls to strncat 2015-09-12 16:18:32 +02:00
Simon Morlat
39c6814242 fix ressource path problem on windows 2015-09-12 15:54:01 +02:00
Gautier Pelloux-Prayer
e250b3c342 tester.c: fix (again...) resource directory path 2015-09-11 15:22:09 +02:00
Simon Morlat
4abc46f753 fix opus stereo test, opus is really bad with stereo from a signal standpoint. 2015-09-11 15:00:46 +02:00
Simon Morlat
1f887db632 adapt to new MSAudioDiff api 2015-09-11 14:48:56 +02:00
Gautier Pelloux-Prayer
d1907a0d48 tester.c: fix resource directory path 2015-09-10 12:20:41 +02:00
Gautier Pelloux-Prayer
d638129f62 proxy.c: deprecate linphone_proxy_config_normalize_phone and use linphone_proxy_config_normalize_phone_number instead 2015-09-10 11:03:46 +02:00
Sylvain Berfini
312dd45ede Added test for declined call logs 2015-09-10 10:58:50 +02:00
Sylvain Berfini
4b7ec9e130 Improved call declined test to check call log status is ok 2015-09-09 10:36:14 +02:00
Sylvain Berfini
d3685c38fa Improved call logs migration tester 2015-09-09 09:41:05 +02:00
Sylvain Berfini
88e1d8d872 Added test to check call log migration 2015-09-08 22:09:16 +02:00
Simon Morlat
13f0d85f68 implement automatic repairing of SIP dialogs broken by a network disconnection. 2015-09-08 21:20:25 +02:00
Sylvain Berfini
d77e344d32 Fix call log sqlite storage test 2015-09-08 16:33:31 +02:00
Sylvain Berfini
e47839c3e4 Added test for delete log and delete log history functions 2015-09-08 16:21:03 +02:00
Sylvain Berfini
a135273771 Small improvement of call log storage API + forgot to free pauline lc in tester + fix test 2015-09-08 16:12:44 +02:00
Sylvain Berfini
c42efa7ff0 Wait for call to end before checking call log db 2015-09-08 15:50:09 +02:00
Sylvain Berfini
6863508cb9 Fix mistake in tester preventing compilation 2015-09-08 15:45:39 +02:00
Sylvain Berfini
d3416ec495 Fix previous test + fix compil when sqlite is disabled 2015-09-08 15:41:53 +02:00
Sylvain Berfini
e35ac5dc77 Fix API + added test for call log sql storage 2015-09-08 15:26:43 +02:00
Simon Morlat
1127f97f8c fix test 2015-09-08 12:38:27 +02:00
Gautier Pelloux-Prayer
352b9c8406 callbacks.c: avoid crashing when we receive response to a message belonging to already destroyed chat room with unit test added 2015-09-08 10:34:49 +02:00
Simon Morlat
041116cb67 implement a mechanism to monitor the memory consumption of the tests. 2015-09-07 16:09:58 +02:00
Simon Morlat
c6f1d4303c fix tester 2015-09-04 16:06:53 +02:00
Simon Morlat
44327da3ec fix declrations 2015-09-04 15:13:51 +02:00
Simon Morlat
cf6995ef5c clean chat room api.
fix multiple memory leaks, mainly in gtk UI
2015-09-04 14:57:25 +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
Simon Morlat
a4594aecba fix and enhance test.
Instead of just relying on bandwidth measurement, use video frame decoded callback.
Some bandwidth assumption look inconsistent with what the test is doing, they have been modified.
2015-09-03 21:39:58 +02:00
Simon Morlat
ed2385ce28 Refactoring of states, handling of media direction, late offering and so on.
Almost working except one test.
2015-09-03 21:39:58 +02:00
Margaux Clerc
ca9647f975 Add new test for late offering 2015-09-03 21:39:58 +02:00
Simon Morlat
9f2b9df16a Revert "chat: fix crash when receiving message status notification AFTER having deleted the chat room"
This reverts commit 08e923a41c.
This commit breaks compilation.
2015-09-03 21:29:44 +02:00
Gautier Pelloux-Prayer
08e923a41c chat: fix crash when receiving message status notification AFTER having deleted the chat room 2015-09-03 17:07:52 +02:00
Simon Morlat
6164259e98 fix windows build (pri64 isn't portable) 2015-08-24 18:27:41 +02:00
Sylvain Berfini
e7dd35efa0 Fixed XOR encryption for custom RTP transport modifier tests 2015-08-24 16:58:34 +02:00
Simon Morlat
108b2c2255 fix test again 2015-08-23 19:12:50 +02:00
Simon Morlat
8b84c36540 fix test that broke after fixing a bug in ms2, which resulted in STUN packets not sent for recv-only video streams. 2015-08-22 00:28:34 +02:00
Sylvain Berfini
7cbb44281c Added record test with custom RTP transport modifier but removed XOR encryption temporarily (doesn't work really great, have to rework it) 2015-08-21 17:47:36 +02:00
Sylvain Berfini
aa37a963eb Improved linphone_call_stats_get_rtp_stats and call with custom RTP transport modifier 2015-08-21 17:47:36 +02:00
Sylvain Berfini
81dcfc2d51 Remove min/max from test, using existing MIN/MAX 2015-08-21 10:05:58 +02:00
Sylvain Berfini
a81d673f94 Added API to get the meta RTP transports + test to check we can append a RTP transport modifier on it 2015-08-20 12:02:53 +02:00
Simon Morlat
aad1cc0715 robustize tests 2015-08-09 17:22:33 +02:00