Fix local remote provisioning test for android

This commit is contained in:
Sylvain Berfini 2014-04-18 11:15:13 +02:00
parent d6fef910bb
commit ce7a483183
2 changed files with 9 additions and 1 deletions

View file

@ -0,0 +1,3 @@
[misc]
config-uri=file:///data/data/org.linphone.tester/files/config_files/rcfiles/marie_remote_localfile2_rc

View file

@ -90,8 +90,13 @@ static void remote_provisioning_default_values(void) {
}
static void remote_provisioning_file(void) {
LinphoneCoreManager* marie = linphone_core_manager_new2("marie_remote_localfile_rc", FALSE);
LinphoneCoreManager* marie;
const LpConfig* conf;
#if ANDROID
marie = linphone_core_manager_new2("marie_remote_localfile_android_rc", FALSE);
#else
marie = linphone_core_manager_new2("marie_remote_localfile_rc", FALSE);
#endif
CU_ASSERT_TRUE(wait_for(marie->lc,NULL,&marie->stat.number_of_LinphoneConfiguringSuccessful,1));
conf = linphone_core_get_config( marie->lc );