首页>代码>安卓家庭理财通客户端实例>/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());
    }
}
最近下载更多
1393782939  LV1 2024年12月17日
yao123456999  LV1 2024年7月11日
heweimin  LV13 2024年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日
最近浏览更多
1393782939  LV1 2024年12月17日
652654393  LV5 2024年11月18日
yao123456999  LV1 2024年7月11日
anjuw521  LV1 2024年7月10日
咩咩咩咩咩  LV2 2024年6月17日
1941549176  LV4 2024年6月4日
lilitu  LV6 2024年5月30日
pangzhihui  LV14 2024年5月28日
求学的熊猫  LV11 2024年5月12日
13543528515  LV8 2024年4月29日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友