首页>代码>安卓家庭理财通客户端实例>/work/app/src/androidTest/java/com/example/a80205050/myapplication/ExampleInstrumentedTest.java
package com.example.a80205050.myapplication;

import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;

import org.junit.Test;
import org.junit.runner.RunWith;

import static org.junit.Assert.*;

/**
 * Instrumentation 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() throws Exception {
        // Context of the app under test.
        Context appContext = InstrumentationRegistry.getTargetContext();

        assertEquals("com.example.a80205050.myapplication", appContext.getPackageName());
    }
}
最近下载更多
dingruiasdad  LV3 4月10日
懒耗子  LV3 2月25日
222RRR  LV1 2022年12月12日
787194770  LV10 2022年10月19日
zhuimengren  LV4 2022年5月30日
GZW012345  LV8 2022年5月29日
1623096142  LV6 2022年5月27日
17岁的孩子想糖吃  LV7 2022年2月25日
939511943  LV2 2021年12月29日
18356557758  LV5 2021年11月11日
最近浏览更多
dzlwindy  LV8 8月28日
Yanguu 7月11日
暂无贡献等级
wersdfs 7月8日
暂无贡献等级
小妹妹  LV5 6月9日
dingruiasdad  LV3 4月10日
qazwsxedc0820 3月20日
暂无贡献等级
懒耗子  LV3 2月25日
silver68  LV1 2022年12月19日
zjm305888234  LV2 2022年12月14日
222RRR  LV1 2022年12月12日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友