首页>代码>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());
    }
}
最近下载更多
微笑刺客  LV21 2024年11月26日
微信网友_7143536520269824  LV1 2024年8月28日
今晚都别睡啦  LV9 2024年5月29日
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日
最近浏览更多
ansayang 5月15日
暂无贡献等级
zhangyin241124 2024年12月5日
暂无贡献等级
微笑刺客  LV21 2024年11月26日
nurgul  LV1 2024年11月18日
yfb790910  LV3 2024年11月2日
微信网友_7208643230158848  LV4 2024年10月13日
微信网友_7143536520269824  LV1 2024年8月28日
樱花味小然子  LV5 2024年7月2日
2636804923  LV6 2024年6月20日
cxfaqww 2024年6月18日
暂无贡献等级
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友