資源簡介
代碼片段和文件信息
package?com.github.phoenix;
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?Testing?documentation
?*/
@RunWith(AndroidJUnit4.class)
public?class?ExampleInstrumentedTest?{
????@Test
????public?void?useAppContext()?throws?Exception?{
????????//?Context?of?the?app?under?test.
????????Context?appContext?=?InstrumentationRegistry.getTargetContext();
????????assertEquals(“com.github.phoenix“?appContext.getPackageName());
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2016-12-19?03:10??KeyboardView-master\
?????文件?????????118??2016-12-19?03:10??KeyboardView-master\.gitignore
?????目錄???????????0??2016-12-19?03:10??KeyboardView-master\.idea\
?????文件?????????686??2016-12-19?03:10??KeyboardView-master\.idea\compiler.xm
?????目錄???????????0??2016-12-19?03:10??KeyboardView-master\.idea\copyright\
?????文件??????????74??2016-12-19?03:10??KeyboardView-master\.idea\copyright\profiles_settings.xm
?????文件?????????200??2016-12-19?03:10??KeyboardView-master\.idea\encodings.xm
?????文件?????????722??2016-12-19?03:10??KeyboardView-master\.idea\gradle.xm
?????文件????????3308??2016-12-19?03:10??KeyboardView-master\.idea\misc.xm
?????文件?????????361??2016-12-19?03:10??KeyboardView-master\.idea\modules.xm
?????文件?????????564??2016-12-19?03:10??KeyboardView-master\.idea\runConfigurations.xm
?????文件???????11357??2016-12-19?03:10??KeyboardView-master\LICENSE
?????文件????????1261??2016-12-19?03:10??KeyboardView-master\README.md
?????目錄???????????0??2016-12-19?03:10??KeyboardView-master\app\
?????文件???????????7??2016-12-19?03:10??KeyboardView-master\app\.gitignore
?????文件????????1089??2016-12-19?03:10??KeyboardView-master\app\build.gradle
?????文件?????????652??2016-12-19?03:10??KeyboardView-master\app\proguard-rules.pro
?????目錄???????????0??2016-12-19?03:10??KeyboardView-master\app\src\
?????目錄???????????0??2016-12-19?03:10??KeyboardView-master\app\src\androidTest\
?????目錄???????????0??2016-12-19?03:10??KeyboardView-master\app\src\androidTest\java\
?????目錄???????????0??2016-12-19?03:10??KeyboardView-master\app\src\androidTest\java\com\
?????目錄???????????0??2016-12-19?03:10??KeyboardView-master\app\src\androidTest\java\com\github\
?????目錄???????????0??2016-12-19?03:10??KeyboardView-master\app\src\androidTest\java\com\github\phoenix\
?????文件?????????740??2016-12-19?03:10??KeyboardView-master\app\src\androidTest\java\com\github\phoenix\ExampleInstrumentedTest.java
?????目錄???????????0??2016-12-19?03:10??KeyboardView-master\app\src\main\
?????文件?????????671??2016-12-19?03:10??KeyboardView-master\app\src\main\AndroidManifest.xm
?????目錄???????????0??2016-12-19?03:10??KeyboardView-master\app\src\main\java\
?????目錄???????????0??2016-12-19?03:10??KeyboardView-master\app\src\main\java\com\
?????目錄???????????0??2016-12-19?03:10??KeyboardView-master\app\src\main\java\com\github\
?????目錄???????????0??2016-12-19?03:10??KeyboardView-master\app\src\main\java\com\github\phoenix\
?????目錄???????????0??2016-12-19?03:10??KeyboardView-master\app\src\main\java\com\github\phoenix\activity\
............此處省略58個文件信息
評論
共有 條評論