Update linphone

This commit is contained in:
Margaux Clerc 2015-03-26 14:20:37 +01:00
parent 135361c563
commit 6ed49c1f32
2 changed files with 8 additions and 1 deletions

View file

@ -3,6 +3,7 @@ package org.linphone.tester;
import org.linphone.core.LinphoneCore;
import org.linphone.core.LinphoneCoreFactory;
import org.linphone.core.LinphoneCoreListenerBase;
import org.linphone.core.LinphoneFriend;
import org.linphone.core.PayloadType;
import android.test.AndroidTestCase;
@ -63,6 +64,12 @@ public class WrapperTester extends AndroidTestCase {
audioCodecs = mCore.getAudioCodecs();
Assert.assertEquals(audioCodecs.length, audioCodecsNb - 1);
}
//Test LinphoneFriend ref key
String key = "12";
LinphoneFriend friend = LinphoneCoreFactory.instance().createLinphoneFriend("sip:lala@test.linphone.org");
friend.setRefKey(key);
Assert.assertEquals(friend.getRefKey(),key);
}
@Override

@ -1 +1 @@
Subproject commit c03389c14cd847cf5d0f4c58318b78c827d9826c
Subproject commit 04abb57606e7f322a10e60288291889843feaa70