• 大小: 0.69M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: Java
  • 标签: 传感器  

资源简介


资源截图

代码片段和文件信息

package edu.lsnu.scope;

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(“edu.lsnu.scope“ appContext.getPackageName());
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-12-02 14:45  scope\
     文件         187  2019-12-02 14:43  scope\.gitignore
     目录           0  2019-12-02 14:44  scope\.gradle\
     目录           0  2019-12-02 14:45  scope\.gradle\4.8\
     目录           0  2019-12-02 14:44  scope\.gradle\4.8\fileChanges\
     文件           1  2019-12-02 14:52  scope\.gradle\4.8\fileChanges\last-build.bin
     目录           0  2019-12-02 14:45  scope\.gradle\4.8\fileContent\
     文件          17  2019-12-02 14:52  scope\.gradle\4.8\fileContent\fileContent.lock
     目录           0  2019-12-02 14:44  scope\.gradle\4.8\fileHashes\
     文件      254419  2019-12-02 14:51  scope\.gradle\4.8\fileHashes\fileHashes.bin
     文件          17  2019-12-02 14:52  scope\.gradle\4.8\fileHashes\fileHashes.lock
     文件       19993  2019-12-02 14:45  scope\.gradle\4.8\fileHashes\resourceHashesCache.bin
     目录           0  2019-12-02 14:46  scope\.gradle\4.8\javaCompile\
     文件     1004644  2019-12-02 14:46  scope\.gradle\4.8\javaCompile\classAnalysis.bin
     文件      694051  2019-12-02 14:46  scope\.gradle\4.8\javaCompile\jarAnalysis.bin
     文件          17  2019-12-02 14:48  scope\.gradle\4.8\javaCompile\javaCompile.lock
     文件       18518  2019-12-02 14:48  scope\.gradle\4.8\javaCompile\processorPath.bin
     文件       76426  2019-12-02 14:48  scope\.gradle\4.8\javaCompile\taskHistory.bin
     文件       22250  2019-12-02 14:48  scope\.gradle\4.8\javaCompile\taskJars.bin
     目录           0  2019-12-02 14:44  scope\.gradle\4.8\taskHistory\
     文件      843167  2019-12-02 14:51  scope\.gradle\4.8\taskHistory\taskHistory.bin
     文件          17  2019-12-02 14:52  scope\.gradle\4.8\taskHistory\taskHistory.lock
     目录           0  2019-12-02 14:44  scope\.gradle\buildOutputCleanup\
     文件          17  2019-12-02 14:52  scope\.gradle\buildOutputCleanup\buildOutputCleanup.lock
     文件          51  2019-12-02 14:44  scope\.gradle\buildOutputCleanup\cache.properties
     文件       21287  2019-12-02 14:51  scope\.gradle\buildOutputCleanup\outputFiles.bin
     目录           0  2019-12-02 14:44  scope\.gradle\vcsWorkingDirs\
     文件           0  2019-12-02 14:44  scope\.gradle\vcsWorkingDirs\gc.properties
     目录           0  2019-12-02 14:51  scope\.idea\
     目录           0  2019-12-02 14:44  scope\.idea\caches\
     文件         538  2019-12-02 14:51  scope\.idea\caches\build_file_checksums.ser
............此处省略113个文件信息

评论

共有 条评论