Commit graph

2235 commits

Author SHA1 Message Date
Erwan Croze
f893132414 Merge branch 'dev_refactor_cpp_qrcode' of gitlab.linphone.org:BC/public/linphone into dev_refactor_cpp
Add QRCode API
2018-06-15 10:49:40 +02:00
Simon Morlat
358fd4756f Update test flexisip configuration. 2018-06-13 17:52:15 +02:00
Simon Morlat
ad30df8018 Add new flexisip test for certificate subject matching. 2018-06-13 17:51:11 +02:00
Simon Morlat
8ebf9a3505 Add new property in [sip] section called "tls_certificate_subject_regexp" providing a regexp to match with TLS certificate subjects:
subjectAltNames.DNS subjectAltNames.URI and CN.
If nothing is matched the TLS connection is rejected.
2018-06-13 17:44:09 +02:00
Ronan Abhamon
77eb02d39a feat(tester/setup_tester): add test on ipv4 addresses (linphone_address_test) 2018-06-13 15:43:25 +02:00
Mickaël Turnel
95e158bb67 Fix Sequential forking tests
If a client is unreachable, flexisip will receive a 503 if the client is local but not if it doesn't.
So we have to wait a little longer for the flexisip current call timeout.
2018-06-13 14:55:14 +02:00
Benjamin Reis
f90ce1f7ea do not crash on failed tests 2018-06-12 17:09:32 +02:00
Mickaël Turnel
1325fbe088 Prevent tests from crashing if current call is NULL 2018-06-07 15:51:32 +02:00
Mickaël Turnel
2857b8fc11 Improved CpimMessage checking when adding a header 2018-05-30 14:46:24 +02:00
Jehan Monnier
95e100ea33 fix cpim testers 2 2018-05-30 09:31:54 +02:00
Jehan Monnier
bc8f6a5c60 fix cpim testers 2018-05-30 09:29:10 +02:00
Jehan Monnier
79c58c14aa fix cpim tester on android 2018-05-29 17:59:29 +02:00
Jehan Monnier
d0b5c85d13 remove call to linphone_factory_create_core from offer/answer tests 2018-05-28 13:39:09 +02:00
Ronan Abhamon
2eec29a01f fix(message_tester): remove spaces as indent 2018-05-28 09:33:52 +02:00
Simon Morlat
a6db4780bc Remove test that doesn't exit properly, causing subsequent tests to fail.
This test is no longer required.
2018-05-25 14:39:47 +02:00
Erwan Croze
849807fb3a Fix message_tester test 2018-05-25 14:38:47 +02:00
Simon Morlat
d865f17159 Fix test that was not un-registering Marie. It created many failures later on because of messages being kept by flexisip for this participant. 2018-05-25 12:01:19 +02:00
Erwan Croze
20da756f64 Update magic search test 2018-05-25 11:27:33 +02:00
Erwan Croze
2731c470c4 Fix magic search
-Alias will now appear in domain filter
-Contact is prefered than address in result
2018-05-24 16:57:04 +02:00
Simon Morlat
89212ecc6c Fix incorrect test. 2018-05-24 13:46:21 +02:00
Jehan Monnier
fe0b526baf fix unit test for android 2018-05-23 17:55:23 +02:00
Erwan Croze
c6e2ef105c Fixing magic search, remove duplicate result 2018-05-23 16:51:37 +02:00
Erwan Croze
da265fd909 Fixing problem with phone number in magic search 2018-05-23 15:20:08 +02:00
Erwan Croze
9986a5e9d5 Fixing tester.c 2018-05-23 14:43:32 +02:00
Erwan Croze
8161c7cbee Fixing android test 2018-05-23 14:43:32 +02:00
Simon Morlat
cfc975d422 Fix crashing tests. 2018-05-23 14:31:20 +02:00
Benjamin Reis
f07a5b59b5 add header to linphonetester framework 2018-05-23 14:05:54 +02:00
Simon Morlat
55f1684135 Robustize tmmbr tests 2018-05-23 12:04:41 +02:00
Simon Morlat
acade62709 Add new method 'linphone_call_request_notify_next_video_frame_decoded(LinphoneCall *call)' that is missing to compensate the deprecation of linphone_call_set_next_video_frame_decoded_callback().
Due to this lack, some tests were failed.
2018-05-23 11:39:18 +02:00
Ronan Abhamon
794bd7b5dd fix(ConferenceEventTester): do not use FALSE in C++ bool... (do not explicit pair too) 2018-05-23 11:04:05 +02:00
Ronan Abhamon
3a3c670e31 fix(tests): cast explicitly time_t to int in tests 2018-05-23 10:58:31 +02:00
Simon Morlat
c51aa48e83 Avoid crash in some zrtp tests, when the call fails. 2018-05-23 09:20:47 +02:00
Simon Morlat
18606096aa Fix call timeout tests again. 2018-05-22 18:06:08 +02:00
Erwan Croze
eab30faa93 Revert changement of friends.db 2018-05-22 17:02:00 +02:00
Erwan Croze
c8a855ef1c Fixing get friend of Magic Search 2018-05-22 16:42:42 +02:00
Simon Morlat
32a4832621 in tester, add -std=c99 to fix build on centos7 2018-05-22 15:08:00 +02:00
Simon Morlat
3ee89b9d91 Relax assertion of measurement of call duration, because getting the two Released state can take up to one seconds on some platforms, probably a lot of time is wasted in shutting down the audio stream. 2018-05-21 18:02:08 +02:00
Simon Morlat
da246bf288 Fix test. The party that declines the call because of timeout has to mention the call as missed. 2018-05-21 17:28:42 +02:00
Erwan Croze
c5e8872910 Merge branch 'dev_refactor_cpp' of git.linphone.org:linphone into dev_refactor_cpp_qrcode 2018-05-21 14:03:34 +02:00
Erwan Croze
6322f71e18 Merge branch 'dev_refactor_cpp' of git.linphone.org:linphone into dev_refactor_cpp_qrcode 2018-05-21 14:03:13 +02:00
Erwan Croze
ce6e236b5b Changing some method in the magic search bar 2018-05-21 14:02:22 +02:00
Ronan Abhamon
3f4c8b6c22 fix(group_chat_tester): cast time_t to int for BC_ASSERT_GREATER 2018-05-21 10:35:05 +02:00
Ronan Abhamon
e9ff5bc951 fix(GroupChatTester): avoid bad conversion on Windows with time_t 2018-05-18 18:03:03 +02:00
Ghislain MARY
234f82e1c3 Add a new group chat tester. 2018-05-17 18:12:23 +02:00
Erwan Croze
64fc28497f Updating Magic Search tests 2018-05-17 14:21:26 +02:00
Ronan Abhamon
20e45ee0fd fix(tester): do not add call_video_test_suite if not enabled 2018-05-17 11:36:06 +02:00
Ghislain MARY
97085209ca Add callbacks to notify joining/leaving of a chat room. 2018-05-17 10:09:19 +02:00
Ronan Abhamon
6ea91ce27b fix(call_video_tester): avoid empty array if video is not enabled 2018-05-17 10:05:06 +02:00
Ghislain MARY
e682a3b1f5 Fix issue 4893: After being re-invited in a chat room, when the device is restarted nothing can be done in the chat room.
Store the conference created event in DB and update the notify id in DB if insertion of the chat room is requested but it is already stored.
2018-05-16 15:34:46 +02:00
Ghislain MARY
be2f7b33df Add LeaksMemory tag on a group chat tester. 2018-05-15 13:52:44 +02:00