首页>代码>andriod实现的简单奶茶管理系统>/Dddtext_bak/app/src/androidTest/java/abeam/example/dddtext/ExampleInstrumentedTest.java
package abeam.example.dddtext;

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("abeam.example.dddtext", appContext.getPackageName());
    }
}
最近下载更多
hhhhhz  LV7 2023年11月14日
yyyyyyzh  LV8 2023年6月11日
微信网友_6505997864357888  LV3 2023年6月11日
ly0729  LV2 2023年6月3日
qazwer11  LV5 2023年5月22日
路人贾jqh  LV1 2023年5月3日
lmroman  LV8 2023年4月26日
2754137495  LV6 2023年3月29日
sks666  LV5 2023年2月19日
tong07  LV2 2022年12月19日
最近浏览更多
求学的熊猫  LV7 5月6日
wxb666  LV3 3月13日
FishYu11 1月19日
暂无贡献等级
yerwiu  LV10 1月6日
liuyanga 1月5日
暂无贡献等级
kincaid 1月2日
暂无贡献等级
不止是六位数  LV7 2023年12月15日
fesfefe  LV13 2023年12月9日
郑唯希 2023年11月28日
暂无贡献等级
statics  LV1 2023年11月27日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友