首页>代码>安卓家庭理财通客户端实例>/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());
    }
}
最近下载更多
heweimin  LV12 4月15日
代码wuyu  LV2 2023年11月25日
dingruiasdad  LV3 2023年4月10日
懒耗子  LV3 2023年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日
最近浏览更多
heweimin  LV12 4月15日
wxb666  LV3 3月14日
代码wuyu  LV2 2023年11月25日
dzlwindy  LV8 2023年8月28日
Yanguu 2023年7月11日
暂无贡献等级
wersdfs  LV1 2023年7月8日
小妹妹  LV7 2023年6月9日
dingruiasdad  LV3 2023年4月10日
qazwsxedc0820 2023年3月20日
暂无贡献等级
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友