From 68b02a47153566ba8f887c76cc43b5051640bac3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Grisez?= Date: Thu, 25 Sep 2014 14:36:43 +0200 Subject: [PATCH] Add one tester to the transport suite --- tester/transport_tester.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tester/transport_tester.c b/tester/transport_tester.c index 3726b84fd..8f0673d60 100644 --- a/tester/transport_tester.c +++ b/tester/transport_tester.c @@ -153,11 +153,16 @@ static void call_with_tunnel_auto(void) { call_with_transport_base(LinphoneTunnelModeAuto, TRUE, LinphoneMediaEncryptionNone); } +static void call_with_tunnel_auto_without_sip_with_srtp(void) { + call_with_transport_base(LinphoneTunnelModeAuto, FALSE, LinphoneMediaEncryptionSRTP); +} + test_t transport_tests[] = { { "Tunnel only", call_with_tunnel }, { "Tunnel with SRTP", call_with_tunnel_srtp }, { "Tunnel without SIP", call_with_tunnel_without_sip }, - { "Tunnel in automatic mode", call_with_tunnel_auto } + { "Tunnel in automatic mode", call_with_tunnel_auto }, + { "Tunnel in automatic mode with SRTP without SIP", call_with_tunnel_auto_without_sip_with_srtp }, }; test_suite_t transport_test_suite = {