mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
24 lines
637 B
Java
24 lines
637 B
Java
package org.linphone.ui.tester;
|
|
|
|
import junit.framework.Assert;
|
|
|
|
import android.test.suitebuilder.annotation.LargeTest;
|
|
import android.test.suitebuilder.annotation.MediumTest;
|
|
import android.test.suitebuilder.annotation.SmallTest;
|
|
|
|
/**
|
|
* @author Sylvain Berfini
|
|
*/
|
|
public class AinitTestEnv extends SampleTest {
|
|
|
|
@SmallTest
|
|
@MediumTest
|
|
@LargeTest
|
|
public void testAInitLinphoneCore() {
|
|
LinphoneTestManager.createAndStart(aContext, iContext, 1);
|
|
|
|
solo.sleep(5000);
|
|
Assert.assertEquals(1, LinphoneTestManager.getLc().getProxyConfigList().length);
|
|
waitForRegistration(LinphoneTestManager.getLc().getProxyConfigList()[0]);
|
|
}
|
|
}
|