package org.demo.ndk;
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("org.demo.ndk", appContext.getPackageName());
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
android NDK Demo (151个子文件)
gradlew.bat 2KB
gradlew.bat 2KB
fileSnapshots.bin 3.35MB
fileSnapshots.bin 3.21MB
taskArtifacts.bin 184KB
taskArtifacts.bin 170KB
fileHashes.bin 149KB
fileHashes.bin 147KB
localClassSetAnalysis.bin 24KB
localClassSetAnalysis.bin 24KB
localJarClasspathSnapshot.bin 20KB
localJarClasspathSnapshot.bin 20KB
hello.c 274B
hello.cpp 273B
.gitignore 127B
.gitignore 127B
.gitignore 8B
.gitignore 8B
build.gradle 1KB
build.gradle 1KB
build.gradle 521B
build.gradle 521B
settings.gradle 16B
settings.gradle 16B
gradlew 5KB
gradlew 5KB
org_demo_ndk_NavHelper.h 488B
org_demo_ndk_NavHelper.h 488B
app.iml 11KB
app.iml 11KB
NDKDemo2.iml 862B
NDKDemo.iml 861B
gradle-wrapper.jar 52KB
gradle-wrapper.jar 52KB
ExampleInstrumentedTest.java 754B
ExampleInstrumentedTest.java 754B
MainActivity.java 540B
MainActivity.java 540B
ExampleUnitTest.java 406B
ExampleUnitTest.java 406B
NavHelper.java 209B
NavHelper.java 208B
taskArtifacts.lock 17B
localJarClasspathSnapshot.lock 17B
localClassSetAnalysis.lock 17B
localJarClasspathSnapshot.lock 17B
taskArtifacts.lock 17B
localClassSetAnalysis.lock 17B
Android.mk 228B
ic_launcher_round.png 14KB
ic_launcher_round.png 14KB
ic_launcher.png 10KB
ic_launcher.png 10KB
ic_launcher_round.png 10KB
ic_launcher_round.png 10KB
ic_launcher.png 8KB
ic_launcher.png 8KB
ic_launcher_round.png 6KB
ic_launcher_round.png 6KB
ic_launcher.png 5KB
ic_launcher.png 5KB
ic_launcher_round.png 4KB
ic_launcher_round.png 4KB
ic_launcher.png 3KB
ic_launcher.png 3KB
ic_launcher_round.png 2KB
ic_launcher_round.png 2KB
ic_launcher.png 2KB
ic_launcher.png 2KB
proguard-rules.pro 941B
proguard-rules.pro 941B
gradle.properties 776B
gradle.properties 776B
local.properties 499B
local.properties 499B
gradle-wrapper.properties 236B
gradle-wrapper.properties 236B
workspace.xml 166KB
workspace.xml 165KB
misc.xml 3KB
misc.xml 3KB
activity_main.xml 799B
activity_main.xml 799B
AndroidManifest.xml 726B
AndroidManifest.xml 726B
compiler.xml 686B
compiler.xml 686B
exposed_instrumentation_api_publish_0_5.xml 630B
exposed_instrumentation_api_publish_0_5.xml 630B
gradle.xml 626B
gradle.xml 626B
espresso_idling_resource_2_2_2.xml 612B
espresso_idling_resource_2_2_2.xml 612B
animated_vector_drawable_25_3_1.xml 601B
animated_vector_drawable_25_3_1.xml 601B
support_vector_drawable_25_3_1.xml 598B
support_vector_drawable_25_3_1.xml 598B
support_media_compat_25_3_1.xml 589B
support_media_compat_25_3_1.xml 589B
support_core_utils_25_3_1.xml 583B
共 151 条
- 1
- 2
资源评论
binvang
- 粉丝: 17
- 资源: 25
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功