Commit 84b7586e authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Fixed regression introduced by new setup test

parent 4a2fedee
## DO NOT USE FOR TESTS OTHER THAN SETUP !
[sip]
sip_port=-1
sip_tcp_port=-1
sip_tls_port=-1
default_proxy=0
ping_with_options=0
composing_idle_timeout=1
[auth_info_0]
username=lise
userid=lise
passwd=secret
realm=sip.example.org
[proxy_0]
realm=sip.example.org
reg_proxy=<sip:sip.example.org;transport=tls>
reg_route=<sip:sip.example.org;transport=tls>
reg_identity=sip:lise@sip.example.org
reg_expires=3600
reg_sendregister=1
publish=0
dial_escape_plus=0
[rtp]
audio_rtp_port=18070-28000
video_rtp_port=39072-49000
[video]
display=0
capture=0
show_local=0
size=qcif
enabled=0
self_view=0
automatically_initiate=0
automatically_accept=0
device=StaticImage: Static picture
[sound]
echocancellation=0 #to not overload cpu in case of VG
[net]
stun_server=stun.example.org
[storage]
#this will explicitely request to not use database. We need this for a few tests where multiple cores are instanciated, so that they don't
#try to connect to the same default sqlite3 database.
uri=null
call_logs_db_uri=null
zrtp_secrets_db_uri=null
[tester]
test_env=1
......@@ -101,7 +101,7 @@ static void core_init_test(void) {
static void core_init_test_2(void) {
LinphoneCore* lc;
char* rc_path = bc_tester_res("rcfiles/chloe_rc");
lc = linphone_factory_create_core_2(linphone_factory_get(),NULL,NULL, rc_path, NULL, system_context);
lc = linphone_factory_create_core_2(linphone_factory_get(), NULL, NULL, rc_path, NULL, system_context);
/* until we have good certificates on our test server... */
linphone_core_verify_server_certificates(lc,FALSE);
......@@ -128,7 +128,7 @@ static void core_init_test_2(void) {
}
static void core_init_test_3(void) {
LinphoneCore* lc = linphone_factory_create_core_3(linphone_factory_get(), NULL,NULL, system_context);
LinphoneCore* lc = linphone_factory_create_core_3(linphone_factory_get(), NULL, NULL, system_context);
if (BC_ASSERT_PTR_NOT_NULL(lc)) {
linphone_core_start(lc);
......@@ -150,7 +150,8 @@ static void core_init_test_3(void) {
}
static void core_init_test_4(void) {
char* rc_path = bc_tester_res("rcfiles/chloe_rc");
// Don't use a RC file used by other tests, it will be edited !!!
char* rc_path = bc_tester_res("rcfiles/lise_rc");
LinphoneCore* lc = linphone_factory_create_core_3(linphone_factory_get(), rc_path, NULL, system_context);
if (BC_ASSERT_PTR_NOT_NULL(lc)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment