Commit graph

137 commits

Author SHA1 Message Date
Gautier Pelloux-Prayer
fabe9c3773 message_tester.c: fix file transfer testers now that certificate is working again 2015-09-24 15:35:07 +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
ce30644995 message_tester.c: "fix" message within call dialog - no delivery status actually is expected (not implemented) 2015-09-23 16:23:38 +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
Sylvain Berfini
ae14102a12 Fix crash in message tester (rtt test) 2015-09-23 10:32:20 +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
Sylvain Berfini
b5d0667594 Merge branch 'dev_rtt' 2015-09-22 11:12:34 +02:00
Simon Morlat
0307ee5fa3 fix crash and memleak in test. 2015-09-18 10:21:10 +02:00
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
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
1a43b01696 Merge branch 'master' into dev_rtt 2015-09-10 14:19:52 +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
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
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
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
Jehan Monnier
303609ab4c fix compilation issue 2015-08-01 19:25:13 +02:00
Jehan Monnier
803d2052a1 add Real Time Text api with stubbed implementation over SIP Messages. 2015-08-01 18:16:12 +02:00
Gautier Pelloux-Prayer
747fd8e6f6 file_transfer: copy file_transfer_information as well when cloning chat message... 2015-07-29 14:55:48 +02:00
Gautier Pelloux-Prayer
7721875fe1 tester: fix compilation 2015-07-03 09:23:46 +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
Gautier Pelloux-Prayer
0292e74495 message_tester.c: fix some tests broken while testing 2015-06-17 09:53:02 +02:00
Gautier Pelloux-Prayer
7b9614a2c7 message_tester.c: oops, remove copy/paste line (bis....and last) 2015-06-12 10:58:47 +02:00
Gautier Pelloux-Prayer
8ec341b88f message_tester.c: oops, remove copy/paste line 2015-06-12 10:10:13 +02:00
Gautier Pelloux-Prayer
b2f2db6c67 message_tester.c: add test for multiple files download/upload in the same time 2015-06-11 16:26:31 +02:00
Jehan Monnier
b03d48ded9 improve liblinphone test reliability 2015-06-04 08:53:40 +02:00
Jehan Monnier
68532f69bc make lime optional for file sharing 2015-06-01 12:49:53 +02:00
Jehan Monnier
cdfdabebea improve lime test robustness 2015-05-28 15:45:47 +02:00
Jehan Monnier
7f2c4c22b4 fix compilation issue + fix lime tests for Android 2015-05-27 09:17:37 +02:00
Jehan Monnier
40ae36e14a still one fopen to be replaced in lime unit test 2015-05-26 18:39:59 +02:00
Jehan Monnier
78cc40e1c4 make sure lime test use writable path 2015-05-26 18:21:26 +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
Jehan Monnier
6eeff52a62 remove original auth info from testers 2015-05-19 15:09:33 +02:00
Johan Pascal
5200810ca8 Clean Lime tests 2015-05-18 23:55: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
Johan Pascal
7e742958a2 Fix compilation when LIME is disabled
- enabled by default switch using --enable-lime
- check for polarssl gcm.h presence (version >=1.3)
2015-03-19 00:21:07 +01:00
Gautier Pelloux-Prayer
c94a52f3f0 Merge branch 'dev_tester_factorization'
Conflicts:
	tester/message_tester.c
2015-03-16 17:15:01 +01:00
Simon Morlat
272d1ac8ea fix memory leaks
reuse same sip.instance in account manager of tester
2015-03-16 16:22:19 +01:00
Simon Morlat
b2b1410a69 fix multiple memory leaks 2015-03-13 15:18:08 +01:00
Gautier Pelloux-Prayer
0887089bc6 Tester: continuing 2015-03-13 13:55:32 +01:00
Gautier Pelloux-Prayer
d3d0573d13 Tester: create tester_utils which contain factorized code for all testers (in progress) 2015-03-13 10:48:21 +01:00
Simon Morlat
0c404d7516 fix compilation warnings, non-portable code and make distcheck 2015-03-12 22:57:37 +01:00