资源简介


资源截图

代码片段和文件信息

package gaoyang.biometricdemo;

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.*;

/**
 * Instrumented test which will execute on an Android device.
 *
 * @see Testing documentation
 */
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
    @Test
    public void useAppContext() {
        // Context of the app under test.
        Context appContext = InstrumentationRegistry.getTargetContext();

        assertEquals(“gaoyang.biometricdemo“ appContext.getPackageName());
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-10-29 14:31  曽埬敧\
     目录           0  2019-10-29 14:31  曽埬敧\BiometricPromptDemo-master-master\
     文件         137  2019-01-09 11:56  曽埬敧\BiometricPromptDemo-master-master\.gitignore
     目录           0  2019-10-29 14:31  曽埬敧\BiometricPromptDemo-master-master\.idea\
     目录           0  2019-10-29 14:31  曽埬敧\BiometricPromptDemo-master-master\.idea\caches\
     文件         588  2019-01-09 11:56  曽埬敧\BiometricPromptDemo-master-master\.idea\caches\build_file_checksums.ser
     目录           0  2019-10-29 14:31  曽埬敧\BiometricPromptDemo-master-master\.idea\codestyles\
     文件        1775  2019-01-09 11:56  曽埬敧\BiometricPromptDemo-master-master\.idea\codestyles\Project.xml
     目录           0  2019-10-29 14:31  曽埬敧\BiometricPromptDemo-master-master\.idea\dictionaries\
     文件          87  2019-01-09 11:56  曽埬敧\BiometricPromptDemo-master-master\.idea\dictionaries\wuzhengu.xml
     文件         238  2019-01-09 11:56  曽埬敧\BiometricPromptDemo-master-master\.idea\encodings.xml
     文件         684  2019-01-09 11:56  曽埬敧\BiometricPromptDemo-master-master\.idea\gradle.xml
     目录           0  2019-10-29 14:31  曽埬敧\BiometricPromptDemo-master-master\.idea\inspectionProfiles\
     文件        1563  2019-01-09 11:56  曽埬敧\BiometricPromptDemo-master-master\.idea\inspectionProfiles\Project_Default.xml
     文件        1707  2019-01-09 11:56  曽埬敧\BiometricPromptDemo-master-master\.idea\misc.xml
     文件         564  2019-01-09 11:56  曽埬敧\BiometricPromptDemo-master-master\.idea\runConfigurations.xml
     目录           0  2019-10-29 14:31  曽埬敧\BiometricPromptDemo-master-master\app\
     文件           7  2019-01-09 11:56  曽埬敧\BiometricPromptDemo-master-master\app\.gitignore
     文件         977  2019-01-09 11:56  曽埬敧\BiometricPromptDemo-master-master\app\build.gradle
     文件         751  2019-01-09 11:56  曽埬敧\BiometricPromptDemo-master-master\app\proguard-rules.pro
     目录           0  2019-10-29 14:31  曽埬敧\BiometricPromptDemo-master-master\app\src\
     目录           0  2019-10-29 14:31  曽埬敧\BiometricPromptDemo-master-master\app\src\androidTest\
     目录           0  2019-10-29 14:31  曽埬敧\BiometricPromptDemo-master-master\app\src\androidTest\java\
     目录           0  2019-10-29 14:31  曽埬敧\BiometricPromptDemo-master-master\app\src\androidTest\java\gaoyang\
     目录           0  2019-10-29 14:31  曽埬敧\BiometricPromptDemo-master-master\app\src\androidTest\java\gaoyang\biometricdemo\
     文件         726  2019-01-09 11:56  曽埬敧\BiometricPromptDemo-master-master\app\src\androidTest\java\gaoyang\biometricdemo\ExampleInstrumentedTest.java
     目录           0  2019-10-29 14:31  曽埬敧\BiometricPromptDemo-master-master\app\src\main\
     文件         720  2019-01-09 11:56  曽埬敧\BiometricPromptDemo-master-master\app\src\main\AndroidManifest.xml
     目录           0  2019-10-29 14:31  曽埬敧\BiometricPromptDemo-master-master\app\src\main\java\
     目录           0  2019-10-29 14:31  曽埬敧\BiometricPromptDemo-master-master\app\src\main\java\gaoyang\
     目录           0  2019-10-29 14:31  曽埬敧\BiometricPromptDemo-master-master\app\src\main\java\gaoyang\biometricdemo\
............此处省略83个文件信息

评论

共有 条评论