mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 20:08:08 +00:00
25 lines
614 B
Java
25 lines
614 B
Java
package org.linphone.test;
|
|
|
|
import static android.content.Intent.ACTION_MAIN;
|
|
|
|
import org.linphone.LinphoneService;
|
|
|
|
import android.content.Intent;
|
|
import android.test.suitebuilder.annotation.LargeTest;
|
|
import android.test.suitebuilder.annotation.MediumTest;
|
|
import android.test.suitebuilder.annotation.SmallTest;
|
|
|
|
/**
|
|
* @author Sylvain Berfini
|
|
*/
|
|
public class ZShutdownTestEnv extends SampleTest {
|
|
|
|
@SmallTest
|
|
@MediumTest
|
|
@LargeTest
|
|
public void testZShutDownLinphoneCore() {
|
|
LinphoneTestManager.destroy();
|
|
aContext.stopService(new Intent(ACTION_MAIN).setClass(aContext, LinphoneService.class));
|
|
}
|
|
|
|
}
|