1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/os-soft-sms-to-email-app

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Это зеркальный репозиторий, синхронизируется ежедневно с исходного репозитория.
Клонировать/Скачать
ExampleInstrumentedTest.java 764 Байты
Копировать Редактировать Исходные данные Просмотреть построчно История
MJSoftKing Отправлено 4 лет назад 7a022d3
package com.mjsoftking.smstoemail;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
assertEquals("com.mjsoftking.smstoemail", appContext.getPackageName());
}
}

Комментарий ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://gitlife.ru/oschina-mirror/os-soft-sms-to-email-app.git
git@gitlife.ru:oschina-mirror/os-soft-sms-to-email-app.git
oschina-mirror
os-soft-sms-to-email-app
os-soft-sms-to-email-app
1.0.0