首页>代码>android开发用户帐号密码管理app>/MyPassword/app/src/androidTest/java/com/mypassword/ExampleInstrumentedTest.java
package com.mypassword; 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.mypassword", appContext.getPackageName()); } }
最近下载更多
111112222333312131 LV4
2023年5月30日
倾城之恋1 LV5
2023年5月21日
微信网友_6214952257998848 LV1
2022年11月16日
LiuZhiP LV4
2022年8月31日
839749683 LV9
2022年6月6日
stdtta LV8
2022年6月2日
wang512237140 LV20
2022年5月27日
yjycdjb LV5
2022年5月23日
bingpine LV6
2022年5月14日
诗意的成长 LV5
2022年5月11日
最近浏览更多
微信网友_6959610428559360
4月20日
暂无贡献等级
666ing LV2
2023年12月27日
苏拉德666 LV4
2023年12月17日
森sdfgf LV8
2023年11月1日
haozhilang LV8
2023年10月31日
wsgwly LV5
2023年10月18日
yiy12345 LV2
2023年10月16日
17609102982
2023年8月22日
暂无贡献等级
gaoshuao LV2
2023年8月12日
Yanguu
2023年7月11日
暂无贡献等级