Commit graph

120 commits

Author SHA1 Message Date
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
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
Johan Pascal
667d993e71 Update lime file transfer test to check correct stats 2015-03-12 18:15:56 +01:00
Jehan Monnier
5035992c64 Merge remote-tracking branch 'private/dev_lime'
Conflicts:
	coreapi/linphonecall.c
2015-03-12 15:08:35 +01:00
Sylvain Berfini
6e8212cde0 Improved message tester to not use number_of_LinphoneMessageExtBodyReceived anymore when it should not 2015-03-03 14:43:22 +01:00
Johan Pascal
d133ebd5eb Merge remote-tracking branch 'linphone-public/master' into dev_lime 2015-02-26 22:46:24 +01:00
Sylvain Berfini
119c596b9e Added test for file transfer using old way: setting file's url in message's external body 2015-02-24 11:55:59 +01:00
Ghislain MARY
b4e301ada0 Copy message tester database file in binary mode. 2015-01-30 10:32:29 +01:00
Simon Morlat
4292c1fc15 fix compilation errors 2014-12-12 17:02:52 +01:00
Ghislain MARY
24f4d44496 There is no longer a dummy call to the file_transfer_recv callback at the beginning of a file download. 2014-12-11 14:34:45 +01:00
Ghislain MARY
b0f621ad13 Use real file for file upload test and check that the received file is the same as the sent one. 2014-12-11 11:40:28 +01:00
Ghislain MARY
099d846fbe Fix file transfer tests. 2014-12-10 16:52:56 +01:00
Jehan Monnier
7ce476ffb0 fix memory leak in case Message tests are passed in sequence 2014-12-02 15:17:34 +01:00
Guillaume BIENKOWSKI
e6209d9051 Merge commit '2e515642f07eb33974583587ddb2ee4669d4ff29' into dev_lime
Conflicts:
	coreapi/chat.c
2014-11-27 18:01:33 +01:00
Guillaume BIENKOWSKI
a3f728d84a Test the history range function thoroughly 2014-11-26 13:53:19 +01:00
Guillaume BIENKOWSKI
06de47db2e Fix a special case in message history retrieval.
This function is not yet completely tested,
2014-11-26 13:53:19 +01:00
Ghislain MARY
4ac1ccdf05 Handle the callbacks associated with a chat message directly in the LinphoneChatMessage object instead of in the LinphoneCore object. 2014-11-24 16:16:17 +01: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