Commit graph

72 commits

Author SHA1 Message Date
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
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
Ghislain MARY
916a3e8e02 Fix compilation of message tester. 2014-11-14 16:06:02 +01:00
Gautier Pelloux-Prayer
7cd1243f66 Only check number of non migrated message 2014-11-10 17:51:00 +01:00
Gautier Pelloux-Prayer
0892bd026d Fix method linphone_chat_room_get_history which returned one extra message + fix memory leaks in message storage tester 2014-11-05 12:10:15 +01:00
Ghislain MARY
be7cb58b18 Fix message tester. 2014-10-21 11:02:33 +02:00
François Grisez
4fc7ef7a0b Fix compilation 2014-10-20 16:33:50 +02:00
Simon Morlat
0f52361549 set correct name to constructor of LinphoneCoreVTable 2014-10-15 16:25:31 +02:00
Johan Pascal
79b340bb58 Add test on small file transfer
- check a file send in one chunk only is correctly handled
2014-09-27 23:14:47 +02:00
Jehan Monnier
251ba960c5 add new functions linphone_core_add_listener to enable multiple vtable to be registered 2014-09-16 15:00:12 +02:00
Gautier Pelloux-Prayer
717db9fd8d Improved strict compilation flags 2014-09-11 15:46:05 +02:00
Simon Morlat
f07be6ec9e fixe crashes in tester 2014-09-09 10:14:42 +02:00
Simon Morlat
b34d5bd992 fix double free 2014-09-09 09:37:03 +02:00
Simon Morlat
f4a4a6440b Support for incoming UPDATEs within dialog.
For tests, the possibility to send an UPDATE with linphone_core_update_call() has been added thanks to a $
Added possibility to configure Supported SIP header.
2014-09-08 19:02:29 +02:00
Jehan Monnier
59cdb8850b various fix for lib linphone tester on Android 2014-09-01 18:26:51 +02:00
Jehan Monnier
0369a30fb0 make liblinphone message tester more reliable 2014-08-29 15:57:45 +02:00
Jehan Monnier
9b68f18820 keep linphone_core_get_chat_room(LinphoneCore *lc, const LinphoneAddress *addr) with const param 2014-08-28 14:59:00 +02:00
Gautier Pelloux-Prayer
c53f70e256 Fix erroneous documentation from conversation history new methods 2014-08-19 15:06:50 +02:00
Gautier Pelloux-Prayer
e745c956e7 Add method to retrieve size of a conversation history and a part of it 2014-08-19 11:31:40 +02:00
Johan Pascal
97050ac654 File Transfer: manage i/o error during file download from server
- note : not functional, test is bugged and commented. To be fixed.
2014-07-30 17:14:56 +02:00
Johan Pascal
ce24877b9d File transfer: add a cancel function to the core
- allow cancellation during upload or download
+ fix bug in file transfer message tester
2014-07-29 21:16:01 +02:00
Jehan Monnier
a21d7d863d improve message tester 2014-07-01 22:00:50 +02:00
Ghislain MARY
278f48022d Add mswebrtc to the liblinphone-tester project for Windows Phone 8. 2014-06-26 14:21:28 +02:00
Johan Pascal
58530de9bb File transfer : add test for I/O error 2014-06-26 00:45:53 +02:00
Ghislain MARY
e41203a4c5 Fix compilation for Windows Phone 8. 2014-06-25 17:46:44 +02:00
Jehan Monnier
bf47097f25 fix compilation issue on android (replace open by fopen) 2014-06-13 09:20:50 +02:00
Simon Morlat
0d5af07a7e fix memory leaks 2014-06-10 16:30:47 +02:00
Simon Morlat
649a5a5fe8 fix memory leaks 2014-06-09 22:14:06 +02:00
Johan Pascal
3c918dfd8b Merge branch 'master' of git.linphone.org:linphone into dev_filetransfer 2014-06-09 13:40:06 +02:00
Johan Pascal
94ce7ad1bf File transfer move server to https:linphone.org 2014-06-09 12:48:44 +02:00
Johan Pascal
e98ad8e4a6 Add test for file transfer to liblinphone tester 2014-06-08 23:27:03 +02:00
Guillaume BIENKOWSKI
038bebdcc9 Add a writable prefix variable for the tester. This will allow mobile unit tests to pass the message storage tests 2014-06-02 14:15:49 +02:00
Guillaume BIENKOWSKI
3b23045e0a Fix tmp path in message tester 2014-05-28 15:42:12 +02:00
Guillaume BIENKOWSKI
b56095f59f Add API to debug sqlite timings, and a test to profile the message migration 2014-05-28 14:53:30 +02:00
Guillaume BIENKOWSKI
f0d7040fbf unit tests for transient messages 2014-05-20 10:24:05 +02:00
Simon Morlat
a8176a398d rework SRTP support so that recv and send key can be set and updated independently. 2014-04-08 23:41:14 +02:00
Simon Morlat
c25273e9ca add C function to disable chat 2014-03-25 12:48:50 +01:00
Simon Morlat
a45d28a328 implement receiving of in-dialog chat message 2014-03-10 17:25:44 +01:00
Jehan Monnier
33df2c8fec add a test, for credential provided in auth cb (SIP Message case) 2014-02-12 17:03:08 +01:00
Ghislain MARY
510440a148 Fix crashes on BlackBerry 10. 2014-02-11 15:46:58 +01:00